Class ParentActionUI

  • All Implemented Interfaces:
    ActionUI

    public class ParentActionUI
    extends Object
    implements ActionUI
    Default user interfaces for composite or parent actions.
    Version:
    $Revision: 1.1 $ $Date: 2006/01/09 15:55:03 $
    Author:
    Nick Collier
    • Constructor Detail

      • ParentActionUI

        public ParentActionUI​(String label)
    • Method Detail

      • getLabel

        public String getLabel()
        Specified by:
        getLabel in interface ActionUI
        Returns:
        a label for the action as it appears in the tree.
      • getEditor

        public Editor getEditor​(ScenarioTreeEvent evt)
        Description copied from interface: ActionUI
        Gets the Editor (an editor panel) for editing an action.
        Specified by:
        getEditor in interface ActionUI
        Parameters:
        evt - the ScenarioTreeEvent that triggered this method call.
        Returns:
        the Editor (an editor panel) for editing an action.
      • getPopupMenu

        public JPopupMenu getPopupMenu​(ScenarioTreeEvent evt)
        Description copied from interface: ActionUI
        Gets JPopupMenu to attach to the tree entry for an action. This may return null for no popup.
        Specified by:
        getPopupMenu in interface ActionUI
        Returns:
        JPopupMenu to attach to the tree entry for an action. This may return null for no popup.
      • addEditorMenuItem

        public void addEditorMenuItem​(EditorMenuItem item)