Package gov.nih.mipav.plugins
Class PlugInBundle
java.lang.Object
gov.nih.mipav.plugins.PlugInBundle
- All Implemented Interfaces:
PlugIn
An abstract class for a plugin which reports other available plugins bundled inside of it. These plugins are then
shown individually under the plugin menu and started by this plugin. Any PlugInBundle subclass should override the
getBundledPlugIns() method
- Author:
- mccreedy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSubclasses should override this method to return the list of plugins that they encompass.abstract voidrun(int pluginIndex) Runs the plugin whose name is given by the location in the vector returned bygetBundledPlugIns().
-
Field Details
-
CATEGORY
-
-
Constructor Details
-
PlugInBundle
public PlugInBundle()
-
-
Method Details
-
getBundledPlugIns
Subclasses should override this method to return the list of plugins that they encompass.- Returns:
- A list of plugins that are bundled by this class.
-
run
public abstract void run(int pluginIndex) Runs the plugin whose name is given by the location in the vector returned bygetBundledPlugIns().- Parameters:
pluginIndex- the index of the vector returned bygetBundledPlugIns()
-