Package org.scijava.plugin
Class AbstractRichPlugin
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- All Implemented Interfaces:
Comparable<Prioritized>,Contextual,Identifiable,Locatable,Logged,HasPluginInfo,RichPlugin,SciJavaPlugin,Prioritized,Versioned
- Direct Known Subclasses:
AbstractApp,AbstractDisplay,AbstractDisplayViewer,AbstractGateway,AbstractScriptLanguage,AbstractService,AbstractTool,AbstractTypedPlugin,AbstractUserInterface,HeadlessUI,SortablePlugin
public abstract class AbstractRichPlugin extends AbstractContextual implements RichPlugin
Abstract base class forRichPluginimplementations.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description AbstractRichPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginInfo<?>getInfo()Gets thePluginInfometadata associated with the object.doublegetPriority()Gets the sort priority of the object.voidsetInfo(PluginInfo<?> info)Sets thePluginInfometadata associated with the object.voidsetPriority(double priority)Sets the sort priority of the object.StringtoString()-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
getPriority
public double getPriority()
Description copied from interface:PrioritizedGets the sort priority of the object.- Specified by:
getPriorityin interfacePrioritized- See Also:
Priority
-
setPriority
public void setPriority(double priority)
Description copied from interface:PrioritizedSets the sort priority of the object.- Specified by:
setPriorityin interfacePrioritized- See Also:
Priority
-
getInfo
public PluginInfo<?> getInfo()
Description copied from interface:HasPluginInfoGets thePluginInfometadata associated with the object.- Specified by:
getInfoin interfaceHasPluginInfo
-
setInfo
public void setInfo(PluginInfo<?> info)
Description copied from interface:HasPluginInfoSets thePluginInfometadata associated with the object.Typically this method is called only once to populate the metadata, but subsequent calls are not explicitly forbidden.
- Specified by:
setInfoin interfaceHasPluginInfo
-
-