public abstract class OptionsPlugin extends DynamicCommand implements SingletonPlugin
| Modifier and Type | Field and Description |
|---|---|
protected EventService |
eventService |
moduleService, pluginService| Constructor and Description |
|---|
OptionsPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Performs necessary cleanup in response to cancellation of the module
execution.
|
void |
load()
Loads option values from persistent storage.
|
void |
reset()
Clears option values from persistent storage.
|
void |
run() |
void |
save()
Saves option values to persistent storage.
|
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancelgetDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddInput, addInput, addOutput, addOutput, removeInput, removeOutputgetDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutputprotected EventService eventService
public void load()
public void save()
public void reset()
public void cancel()
ModuleModule.preview() to undo
any changes made as a result of the preview.cancel in interface Modulecancel in class AbstractModuleModuleInfo.canCancel()public void run()
run in interface Runnablerun in interface MutableModuleCopyright © 2015–2022 SciJava. All rights reserved.