Interface InspectorPanelPlugin

All Superinterfaces:
MMGenericPlugin, org.scijava.plugin.SciJavaPlugin

public interface InspectorPanelPlugin extends MMGenericPlugin
A plugin providing a panel in the Inspector window.

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 {
   // ...
}
  • Method Details

    • isApplicableToDataViewer

      boolean isApplicableToDataViewer(DataViewer viewer)
      Tell whether the InspectorPanel provided by this plugin is applicable to a given DataViewer.
      Parameters:
      viewer - the DataViewer instance
      Returns:
      true if this plugin works with viewer
    • createPanelController

      InspectorPanelController createPanelController(Studio studio)