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.
|
getIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionvoid 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 © 2015–2022 SciJava. All rights reserved.