D
- Data type wrapped by the plugin.public abstract class AbstractWrapperPlugin<D> extends AbstractTypedPlugin<D> implements WrapperPlugin<D>
WrapperPlugin
s.Constructor and Description |
---|
AbstractWrapperPlugin() |
Modifier and Type | Method and Description |
---|---|
D |
get()
Gets the data object currently associated with this plugin.
|
void |
set(D data)
Associates the given data object with this plugin.
|
supports
compareTo, getInfo, getPriority, setInfo, setPriority, toString
context, getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
context, getContext, setContext
getPriority, setPriority
compareTo
getInfo, setInfo
public void set(D data)
WrapperPlugin
Typed.supports(T)
must return true).set
in interface WrapperPlugin<D>
data
- The data object to associate with the plugin.public D get()
WrapperPlugin
get
in interface WrapperPlugin<D>
Copyright © 2009–2015 SciJava. All rights reserved.