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 ofGraffitiComponents the plugin contains.InspectorTab[]getInspectorTabs()Mode[]getModes()Returns the array oforg.graffiti.plugin.mode.Modes the plugin contains.GraffitiShape[]getShapes()Returns the array oforg.graffiti.plugin.view.GraffitiShapes the plugin contains.Tool[]getTools()Returns an array oforg.graffiti.plugin.mode.Tools 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, stopMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getAttributeComponentsin interfaceEditorPlugin- Returns:
- a mapping between attribute classnames and attributeComponent classnames.
-
getGUIComponents
Returns the array ofGraffitiComponents the plugin contains.- Specified by:
getGUIComponentsin interfaceEditorPlugin- Returns:
- the array of
GraffitiComponents the plugin contains.
-
getModes
Returns the array oforg.graffiti.plugin.mode.Modes the plugin contains.- Specified by:
getModesin interfaceEditorPlugin- Returns:
- the array of
org.graffiti.plugin.mode.Modes the plugin contains.
-
getShapes
Returns the array oforg.graffiti.plugin.view.GraffitiShapes the plugin contains.- Specified by:
getShapesin interfaceEditorPlugin- Returns:
- the array of
org.graffiti.plugin.view.GraffitiShapes the plugin contains.
-
getTools
Returns an array oforg.graffiti.plugin.mode.Tools the plugin provides.- Specified by:
getToolsin 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:
getValueEditComponentsin interfaceEditorPlugin- Returns:
- DOCUMENT ME!
-
getInspectorTabs
- Specified by:
getInspectorTabsin interfaceEditorPlugin
-