Class DescriptorActionUI<T extends Descriptor>

    • Constructor Detail

      • DescriptorActionUI

        public DescriptorActionUI​(T descriptor)
    • 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)
        Returns null indicating the this is not editable, or has nothing interesting to display.
        Specified by:
        getEditor in interface ActionUI
        Parameters:
        evt -
        Returns:
        null indicating the this is not editable, or has nothing interesting to display
      • 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.