org.graffiti.plugin.inspector
Interface InspectorPlugin

All Superinterfaces:
EditorPlugin, GenericPlugin

public interface InspectorPlugin
extends EditorPlugin

Provides a general interface for components to be plugged into an inspector. Any component being able to be plugged into an inspector has to implement this interface. As inspector the inspector shows attributes of graph components this inspector plugins also have to be org.graffiti.event.AttributeListener. An instance of an InspectorPlugin contains a set of InspectorTab -instances which will then be plugged into the inspector.

See Also:
GenericPlugin, AttributeListener, InspectorTab

Method Summary
 void addTab(InspectorTab tab)
          Adds another InspectorTab to the current InspectorPlugin.
 InspectorTab[] getTabs()
          Returns an array containing all the InspectorTabs of the InspectorPlugin.
 
Methods inherited from interface org.graffiti.plugin.EditorPlugin
getAttributeComponents, getGUIComponents, getShapes, getValueEditComponents
 
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
 

Method Detail

getTabs

InspectorTab[] getTabs()
Returns an array containing all the InspectorTabs of the InspectorPlugin.

Returns:
an array containing all the InspectorTabs of the InspectorPlugin.

addTab

void addTab(InspectorTab tab)
Adds another InspectorTab to the current InspectorPlugin.

Parameters:
tab - the InspectorTab to be added to the InspectorPlugin.


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