Class DescriptorActionUI<T extends Descriptor>

java.lang.Object
repast.simphony.ui.DescriptorActionUI<T>
All Implemented Interfaces:
ActionUI
Direct Known Subclasses:
ConsoleSinkActionUI, DataSetActionUI, FileSinkActionUI, HistogramActionUI, SchedulableActionActionUI, TimeSeriesActionUI

public class DescriptorActionUI<T extends Descriptor> extends Object implements ActionUI
Version:
$Revision: 1.1 $ $Date: 2006/01/06 22:27:26 $
Author:
Nick Collier
  • Constructor Details

    • DescriptorActionUI

      public DescriptorActionUI(T descriptor)
  • Method Details

    • 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.