Package org.graffiti.plugin.inspector
Interface InspectorPlugin
- All Superinterfaces:
EditorPlugin
,GenericPlugin
- All Known Implementing Classes:
Inspector
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
Modifier and Type Method Description void
addTab(InspectorTab tab)
Adds anotherInspectorTab
to the currentInspectorPlugin
.InspectorTab[]
getTabs()
Returns an array containing all theInspectorTab
s of theInspectorPlugin
.void
setSelectedTab(InspectorTab tab)
Methods inherited from interface org.graffiti.plugin.EditorPlugin
getAttributeComponents, getGUIComponents, getInspectorTabs, getModes, getShapes, getTools, getValueEditComponents
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
-
Method Details
-
getTabs
InspectorTab[] getTabs()Returns an array containing all theInspectorTab
s of theInspectorPlugin
.- Returns:
- an array containing all the
InspectorTab
s of theInspectorPlugin
.
-
addTab
Adds anotherInspectorTab
to the currentInspectorPlugin
.- Parameters:
tab
- theInspectorTab
to be added to theInspectorPlugin
.
-
setSelectedTab
-