Class UnitContainerContextFactory

  • All Implemented Interfaces:
    ContextFactory

    public class UnitContainerContextFactory
    extends java.lang.Object
    implements ContextFactory
    Context Factory for unit-container contexts.
    Version:
    1.0rn
    Author:
    Andreas
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Properties settings  
    • Constructor Summary

      Constructors 
      Constructor Description
      UnitContainerContextFactory​(java.util.Properties settings)
      Creates a new UnitContainerContextFactory object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.JPopupMenu createContextMenu​(EventDispatcher dispatcher, GameData data, java.lang.Object argument, SelectionEvent selectedObjects, javax.swing.tree.DefaultMutableTreeNode node)
      Creates a context menu based on the type of argument.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • settings

        protected java.util.Properties settings
    • Constructor Detail

      • UnitContainerContextFactory

        public UnitContainerContextFactory​(java.util.Properties settings)
        Creates a new UnitContainerContextFactory object.