Package repast.simphony.ui.plugin
Class ParentActionUI
- java.lang.Object
-
- repast.simphony.ui.plugin.ParentActionUI
-
-
Constructor Summary
Constructors Constructor Description ParentActionUI(String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEditorMenuItem(EditorMenuItem item)
Editor
getEditor(ScenarioTreeEvent evt)
Gets the Editor (an editor panel) for editing an action.String
getLabel()
JPopupMenu
getPopupMenu(ScenarioTreeEvent evt)
Gets JPopupMenu to attach to the tree entry for an action.
-
-
-
Constructor Detail
-
ParentActionUI
public ParentActionUI(String label)
-
-
Method Detail
-
getLabel
public String getLabel()
-
getEditor
public Editor getEditor(ScenarioTreeEvent evt)
Description copied from interface:ActionUI
Gets 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 interfaceActionUI
- Returns:
- JPopupMenu to attach to the tree entry for an action. This may return null for no popup.
-
addEditorMenuItem
public void addEditorMenuItem(EditorMenuItem item)
-
-