Package org.graffiti.plugin
Class EditorPluginAdapter
java.lang.Object
org.graffiti.plugin.GenericPluginAdapter
org.graffiti.plugin.EditorPluginAdapter
- All Implemented Interfaces:
EditorPlugin
,GenericPlugin
- Direct Known Subclasses:
BiomodelsDBAccessPlugin
,DBE_EditorPluginAdapter
,DefaultEditModePlugin
,DefaultView
,GraffitiValueEditComponents
,Inspector
,IPK_EditorPluginAdapter
,MatrixViewPlugin
,StandardAttributeComponents
,StandardTools
,StressMinimizationPlugin
,SwitchSelectionsPlugin
,ZoomPlugin
,ZoomPlugin
public class EditorPluginAdapter extends GenericPluginAdapter implements EditorPlugin
Plugin for editor. Returns null everywhere.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EditorPluginAdapter()
Constructor for EditorPluginAdapter. -
Method Summary
Modifier and Type Method Description Map<Class<? extends Attribute>,Class<? extends AttributeComponent>>
getAttributeComponents()
Returns a mapping between attribute classnames and attributeComponent classnames.GraffitiComponent[]
getGUIComponents()
Returns the array ofGraffitiComponent
s the plugin contains.InspectorTab[]
getInspectorTabs()
Mode[]
getModes()
Returns the array oforg.graffiti.plugin.mode.Mode
s the plugin contains.GraffitiShape[]
getShapes()
Returns the array oforg.graffiti.plugin.view.GraffitiShape
s the plugin contains.Tool[]
getTools()
Returns an array oforg.graffiti.plugin.mode.Tool
s the plugin provides.Map<Class<? extends Displayable>,Class<? extends ValueEditComponent>>
getValueEditComponents()
Returns a mapping from attribute classes to attributeComponent classes.Methods inherited from class org.graffiti.plugin.GenericPluginAdapter
configure, doBeforeExit, getAddonIcon, getAlgorithms, getAttributeDescriptions, getAttributes, getDefaultView, getDependencies, getExtensions, getGraphPostProcessors, getIcon, getInputSerializers, getOutputSerializers, getURLattributeActions, getViews, interrupt, isSelectionListener, 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, isSelectionListener, isSessionListener, isViewListener, needsEditComponents, stop
-
Field Details
-
tools
The tools the plugin provides.
-
-
Constructor Details
-
EditorPluginAdapter
public EditorPluginAdapter()Constructor for EditorPluginAdapter.
-
-
Method Details
-
getAttributeComponents
public Map<Class<? extends Attribute>,Class<? extends AttributeComponent>> getAttributeComponents()Returns a mapping between attribute classnames and attributeComponent classnames.- Specified by:
getAttributeComponents
in interfaceEditorPlugin
- Returns:
- a mapping between attribute classnames and attributeComponent classnames.
-
getGUIComponents
Returns the array ofGraffitiComponent
s the plugin contains.- Specified by:
getGUIComponents
in interfaceEditorPlugin
- Returns:
- the array of
GraffitiComponent
s the plugin contains.
-
getModes
Returns the array oforg.graffiti.plugin.mode.Mode
s the plugin contains.- Specified by:
getModes
in interfaceEditorPlugin
- Returns:
- the array of
org.graffiti.plugin.mode.Mode
s the plugin contains.
-
getShapes
Returns the array oforg.graffiti.plugin.view.GraffitiShape
s the plugin contains.- Specified by:
getShapes
in interfaceEditorPlugin
- Returns:
- the array of
org.graffiti.plugin.view.GraffitiShape
s the plugin contains.
-
getTools
Returns an array oforg.graffiti.plugin.mode.Tool
s the plugin provides.- Specified by:
getTools
in interfaceEditorPlugin
- Returns:
- an array of tools the plugin provides.
-
getValueEditComponents
public Map<Class<? extends Displayable>,Class<? extends ValueEditComponent>> getValueEditComponents()Returns a mapping from attribute classes to attributeComponent classes.- Specified by:
getValueEditComponents
in interfaceEditorPlugin
- Returns:
- DOCUMENT ME!
-
getInspectorTabs
- Specified by:
getInspectorTabs
in interfaceEditorPlugin
-