Package org.scijava.plugin
Class AbstractWrapperPlugin<D>
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- org.scijava.plugin.AbstractTypedPlugin<D>
-
- org.scijava.plugin.AbstractWrapperPlugin<D>
-
- Type Parameters:
D- Data type wrapped by the plugin.
- All Implemented Interfaces:
Comparable<Prioritized>,Contextual,Identifiable,Locatable,Logged,HasPluginInfo,RichPlugin,SciJavaPlugin,TypedPlugin<D>,WrapperPlugin<D>,Prioritized,Typed<D>,Versioned
- Direct Known Subclasses:
AbstractDataHandle,AbstractInputWidget
public abstract class AbstractWrapperPlugin<D> extends AbstractTypedPlugin<D> implements WrapperPlugin<D>
Abstract base class forWrapperPlugins.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description AbstractWrapperPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dget()Gets the data object currently associated with this plugin.voidset(D data)Associates the given data object with this plugin.-
Methods inherited from class org.scijava.plugin.AbstractTypedPlugin
supports
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
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.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
set
public void set(D data)
Description copied from interface:WrapperPluginAssociates the given data object with this plugin. It must be a compatible object (i.e.,Typed.supports(T)must return true).- Specified by:
setin interfaceWrapperPlugin<D>- Parameters:
data- The data object to associate with the plugin.
-
get
public D get()
Description copied from interface:WrapperPluginGets the data object currently associated with this plugin.- Specified by:
getin interfaceWrapperPlugin<D>
-
-