Class SwitchSelectionsPlugin
java.lang.Object
org.graffiti.plugin.GenericPluginAdapter
org.graffiti.plugin.EditorPluginAdapter
org.graffiti.plugins.guis.switchselections.SwitchSelectionsPlugin
- All Implemented Interfaces:
EditorPlugin
,GenericPlugin
,SelectionListener
public class SwitchSelectionsPlugin extends EditorPluginAdapter implements SelectionListener
Provides a spring embedder algorithm a la KK.
- Version:
- $Revision: 1.5 $
- Recent revisions:
- 2.7.0
-
Field Summary
Fields inherited from class org.graffiti.plugin.EditorPluginAdapter
tools
-
Constructor Summary
Constructors Constructor Description SwitchSelectionsPlugin()
Creates a new TrivialGridRestrictedPlugin object. -
Method Summary
Modifier and Type Method Description boolean
isSelectionListener()
States whether this class wants to be registered as aSelectionListener
.void
selectionChanged(SelectionEvent e)
Is called, if something in the selection model changed.void
selectionListChanged(SelectionEvent e)
Is called, if a named selection is added or removed.Methods inherited from class org.graffiti.plugin.EditorPluginAdapter
getAttributeComponents, getGUIComponents, getInspectorTabs, getModes, getShapes, getTools, getValueEditComponents
Methods inherited from class org.graffiti.plugin.GenericPluginAdapter
configure, doBeforeExit, getAddonIcon, getAlgorithms, getAttributeDescriptions, getAttributes, getDefaultView, getDependencies, getExtensions, getGraphPostProcessors, getIcon, getInputSerializers, getOutputSerializers, getURLattributeActions, getViews, interrupt, isSessionListener, isViewListener, needsEditComponents, setIsAddon, stop
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graffiti.plugin.GenericPlugin
configure, doBeforeExit, getAlgorithms, getAttributeDescriptions, getAttributes, getDefaultView, getDependencies, getExtensions, getIcon, getInputSerializers, getOutputSerializers, getURLattributeActions, getViews, interrupt, isSessionListener, isViewListener, needsEditComponents, stop
-
Constructor Details
-
SwitchSelectionsPlugin
public SwitchSelectionsPlugin()Creates a new TrivialGridRestrictedPlugin object.
-
-
Method Details
-
isSelectionListener
public boolean isSelectionListener()Description copied from class:GenericPluginAdapter
States whether this class wants to be registered as aSelectionListener
.- Specified by:
isSelectionListener
in interfaceGenericPlugin
- Overrides:
isSelectionListener
in classGenericPluginAdapter
- Returns:
- DOCUMENT ME!
-
selectionChanged
Description copied from interface:SelectionListener
Is called, if something in the selection model changed.- Specified by:
selectionChanged
in interfaceSelectionListener
-
selectionListChanged
Description copied from interface:SelectionListener
Is called, if a named selection is added or removed.- Specified by:
selectionListChanged
in interfaceSelectionListener
-