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 Details

    • tools

      public Tool[] 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 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.
    • getModes

      public Mode[] getModes()
      Returns the array of org.graffiti.plugin.mode.Modes the plugin contains.
      Specified by:
      getModes in interface EditorPlugin
      Returns:
      the array of org.graffiti.plugin.mode.Modes 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.
    • getTools

      public Tool[] getTools()
      Returns an array of org.graffiti.plugin.mode.Tools the plugin provides.
      Specified by:
      getTools in interface EditorPlugin
      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 interface EditorPlugin
      Returns:
      DOCUMENT ME!
    • getInspectorTabs

      public InspectorTab[] getInspectorTabs()
      Specified by:
      getInspectorTabs in interface EditorPlugin