org.graffiti.plugin.algorithm
Interface AlgorithmWithEdgeContextMenu


public interface AlgorithmWithEdgeContextMenu

DOCUMENT ME!

Version:
$Revision: 5767 $
Author:
$Author: gleissner $

Method Summary
 JMenuItem getCurrentEdgeContextMenuItem(Collection<Edge> selectedEdges)
          This method should be implemented, as that it returns the desired Context-MenuItem for the Plugin.
 

Method Detail

getCurrentEdgeContextMenuItem

JMenuItem getCurrentEdgeContextMenuItem(Collection<Edge> selectedEdges)
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 Interface SelectionListener 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


Generated at 2012-05-30 11:00:36 PM CEST