Package repast.simphony.ui.plugin
Interface EditorMenuItem
- All Superinterfaces:
Action
,ActionListener
,Comparable<EditorMenuItem>
,EventListener
- All Known Implementing Classes:
AbstractEditorMenuItem
,ConsoleSinkMenuItem
,DataSetMenuItem
,DefaultDataLoaderMenuItem
,DefaultDisplayMenuItem
,FileSinkMenuItem
,FreezerMenuItem
,HistogramMenuItem
,TimeSeriesChartMenuItem
,UserPanelMenuItem
Interface for classes that are MenuItems in a parent / composite action's popup menu.
- Version:
- $Revision: 1.1 $ $Date: 2006/01/09 15:55:03 $
- Author:
- Nick Collier
-
Field Summary
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Method Summary
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
setScenarioEvt
Sets the ScenarioTreeEvent that triggers this menu item.- Parameters:
evt
- the ScenarioTreeEvent that trigged this menu item.
-
getLabel
String getLabel()Gets the label for this menu item.- Returns:
- the label for this menu item.
-
init
void init(org.java.plugin.PluginManager manager) Called when the menu item is being initialized. This allows the menu item to use the manager if it needs it for any reason.- Parameters:
manager
- the plugin manager
-