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 Details

    • 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.
    • setSelectedTab

      void setSelectedTab​(InspectorTab tab)