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 voidaddTab(InspectorTab tab)Adds anotherInspectorTabto the currentInspectorPlugin.InspectorTab[]getTabs()Returns an array containing all theInspectorTabs of theInspectorPlugin.voidsetSelectedTab(InspectorTab tab)Methods inherited from interface org.graffiti.plugin.EditorPlugin
getAttributeComponents, getGUIComponents, getInspectorTabs, getModes, getShapes, getTools, getValueEditComponentsMethods 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 theInspectorTabs of theInspectorPlugin.- Returns:
- an array containing all the
InspectorTabs of theInspectorPlugin.
-
addTab
Adds anotherInspectorTabto the currentInspectorPlugin.- Parameters:
tab- theInspectorTabto be added to theInspectorPlugin.
-
setSelectedTab
-