Package org.graffiti.plugin.algorithm
Interface ProvidesGeneralContextMenu
- All Known Implementing Classes:
CenterLayouterAlgorithm
,DeleteNodesAlgorithm
,LinkVisualizationLegendPlugin
,RotateAlgorithm
,SetBackgroundColorAlgorithm
,WindowSettings
public interface ProvidesGeneralContextMenu
DOCUMENT ME!
- Version:
- $Revision: 1.5 $
- Author:
- $Author: klukas $
-
Method Summary
Modifier and Type Method Description JMenuItem[]
getCurrentContextMenuItem()
This method should be implemented, as that it returns the desired Context-MenuItem for the Plugin.
-
Method Details
-
getCurrentContextMenuItem
JMenuItem[] getCurrentContextMenuItem()This method should be implemented, as that it returns the desired Context-MenuItem for the Plugin. It will be added on the fly to a newly created context menu, when the user right-clicks an EditorFrame. The plugin should implement the InterfaceSelectionListener
if the menu item should be variable to the current selection. You could also return a MenuItem that contains a subMenu.- Returns:
MenuItem
the menu item for the context menu
-