D - Data type wrapped by the plugin.public interface WrapperPlugin<D> extends TypedPlugin<D>
For a concrete example, see org.scijava.widget.InputWidget.
| 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.
|
context, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfovoid set(D data)
Typed.supports(T) must return true).data - The data object to associate with the plugin.IllegalArgumentException - if the data object is not compatible.D get()
Copyright © 2009–2016 SciJava. All rights reserved.