public abstract class AbstractRichPlugin extends AbstractContextual implements RichPlugin
RichPlugin
implementations.Constructor and Description |
---|
AbstractRichPlugin() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Prioritized that) |
PluginInfo<?> |
getInfo()
Gets the
PluginInfo metadata associated with the object. |
double |
getPriority()
Gets the sort priority of the object.
|
void |
setInfo(PluginInfo<?> info)
Sets the
PluginInfo metadata associated with the object. |
void |
setPriority(double priority)
Sets the sort priority of the object.
|
String |
toString() |
context, getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
context, getContext, setContext
public double getPriority()
Prioritized
getPriority
in interface Prioritized
Priority
public void setPriority(double priority)
Prioritized
setPriority
in interface Prioritized
Priority
public PluginInfo<?> getInfo()
HasPluginInfo
PluginInfo
metadata associated with the object.getInfo
in interface HasPluginInfo
public void setInfo(PluginInfo<?> info)
HasPluginInfo
PluginInfo
metadata associated with the object.
Typically this method is called only once to populate the metadata, but subsequent calls are not explicitly forbidden.
setInfo
in interface HasPluginInfo
public int compareTo(Prioritized that)
compareTo
in interface Comparable<Prioritized>
Copyright © 2009–2015 SciJava. All rights reserved.