public interface InspectorPanelPlugin extends MMGenericPlugin
To create an inspector plugin, annotate your class like this:
@Plugin(type = InspectorPlugin.class,
priority = Prioroty.NORMAL_PRIORITY, // Suggests order in inspector
name = "My Inspector Plugin", // User-visible title
description = "Do Wonderful Things") // Tooltip
public class MyInspectorPlugin implements InspectorPlugin {
// ...
}
Modifier and Type | Method and Description |
---|---|
InspectorPanelController |
createPanelController(Studio studio) |
boolean |
isApplicableToDataViewer(DataViewer viewer)
Tell whether the InspectorPanel provided by this plugin is applicable to
a given DataViewer.
|
boolean isApplicableToDataViewer(DataViewer viewer)
viewer
- the DataViewer
instanceviewer
InspectorPanelController createPanelController(Studio studio)