org.graffiti.plugin
Class EditorPluginAdapter

java.lang.Object
  extended by org.graffiti.plugin.GenericPluginAdapter
      extended by org.graffiti.plugin.EditorPluginAdapter
All Implemented Interfaces:
EditorPlugin, GenericPlugin

public class EditorPluginAdapter
extends GenericPluginAdapter
implements EditorPlugin

Plugin for editor. Returns null everywhere.


Field Summary
protected  Map<Class<?>,Class<?>> attributeComponents
          Maps from an attribute class to an AttributeComponent class.
protected  GraffitiComponent[] guiComponents
          The gui components the plugin provides.
protected  GraffitiShape[] shapes
          The shapes the plugin provides.
protected  Map<Class<?>,Class<?>> valueEditComponents
          The mapping between attribute classes and attributeComponent classes.
 
Fields inherited from class org.graffiti.plugin.GenericPluginAdapter
algorithms, ARBITRARY, attributes, BETA, DELETE, dependencies, inputSerializers, ISOMORPHISM, MST, NETWORK_FLOW, ORTHOGONAL, outputSerializers, PLANAR, prefs, SUGIYAMA, TREES, views
 
Constructor Summary
EditorPluginAdapter()
          Constructor for EditorPluginAdapter.
 
Method Summary
 Map<Class<?>,Class<?>> getAttributeComponents()
          Returns a mapping between attribute classnames and attributeComponent classnames.
 GraffitiComponent[] getGUIComponents()
          Returns the array of GraffitiComponents the plugin contains.
 GraffitiShape[] getShapes()
          Returns the array of org.graffiti.plugin.view.GraffitiShapes the plugin contains.
 Map<Class<?>,Class<?>> getValueEditComponents()
          Returns a mapping from attribute classes to attributeComponent classes.
 
Methods inherited from class org.graffiti.plugin.GenericPluginAdapter
addJSeparatorAfterAlgorithm, configure, doBeforeExit, getAlgorithms, getAttributes, getDependencies, getIcon, getInputSerializers, getName, getOutputSerializers, getPathInformation, getViews, interrupt, isSelectionListener, isSessionListener, isViewListener, needsEditComponents, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.graffiti.plugin.GenericPlugin
addJSeparatorAfterAlgorithm, configure, doBeforeExit, getAlgorithms, getAttributes, getDependencies, getIcon, getInputSerializers, getName, getOutputSerializers, getPathInformation, getViews, interrupt, isSelectionListener, isSessionListener, isViewListener, needsEditComponents, stop
 

Field Detail

attributeComponents

protected Map<Class<?>,Class<?>> attributeComponents
Maps from an attribute class to an AttributeComponent class. old comment: A java.util.Map from Attribute to the corresponding LabelValueRow-instance.


valueEditComponents

protected Map<Class<?>,Class<?>> valueEditComponents
The mapping between attribute classes and attributeComponent classes.


guiComponents

protected GraffitiComponent[] guiComponents
The gui components the plugin provides.


shapes

protected GraffitiShape[] shapes
The shapes the plugin provides.

Constructor Detail

EditorPluginAdapter

public EditorPluginAdapter()
Constructor for EditorPluginAdapter.

Method Detail

getAttributeComponents

public Map<Class<?>,Class<?>> getAttributeComponents()
Returns a mapping between attribute classnames and attributeComponent classnames.

Specified by:
getAttributeComponents in interface EditorPlugin
Returns:
a mapping between attribute classnames and attributeComponent classnames.

getGUIComponents

public GraffitiComponent[] getGUIComponents()
Returns the array of GraffitiComponents the plugin contains.

Specified by:
getGUIComponents in interface EditorPlugin
Returns:
the array of GraffitiComponents the plugin contains.

getShapes

public GraffitiShape[] getShapes()
Returns the array of org.graffiti.plugin.view.GraffitiShapes the plugin contains.

Specified by:
getShapes in interface EditorPlugin
Returns:
the array of org.graffiti.plugin.view.GraffitiShapes the plugin contains.

getValueEditComponents

public Map<Class<?>,Class<?>> getValueEditComponents()
Returns a mapping from attribute classes to attributeComponent classes.

Specified by:
getValueEditComponents in interface EditorPlugin
Returns:
DOCUMENT ME!


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