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, uncancel
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutput
protected EventService eventService
public void load()
public void save()
public void reset()
public void cancel()
Module
Module.preview()
to undo
any changes made as a result of the preview.cancel
in interface Module
cancel
in class AbstractModule
ModuleInfo.canCancel()
public void run()
run
in interface Runnable
run
in interface MutableModule
Copyright © 2015–2022 SciJava. All rights reserved.