Package sc.fiji.snt.gui.cmds
Class PrefsCmd
java.lang.Object
org.scijava.module.AbstractModule
org.scijava.module.DefaultMutableModule
org.scijava.command.DynamicCommand
org.scijava.options.OptionsPlugin
sc.fiji.snt.gui.cmds.PrefsCmd
- All Implemented Interfaces:
Runnable,org.scijava.Cancelable,org.scijava.command.Command,org.scijava.Contextual,org.scijava.module.Module,org.scijava.module.MutableModule,org.scijava.plugin.SciJavaPlugin,org.scijava.plugin.SingletonPlugin
public class PrefsCmd
extends org.scijava.options.OptionsPlugin
Command for (re)setting SNT Preferences.
- Author:
- Tiago Ferreira
-
Field Summary
FieldsFields inherited from class org.scijava.options.OptionsPlugin
eventServiceFields inherited from class org.scijava.command.DynamicCommand
moduleService, pluginService -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.scijava.options.OptionsPlugin
cancel, load, saveMethods inherited from class org.scijava.command.DynamicCommand
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancelMethods inherited from class org.scijava.module.AbstractModule
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.scijava.module.Module
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutputMethods inherited from interface org.scijava.module.MutableModule
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
-
Field Details
-
sntService
-
-
Constructor Details
-
PrefsCmd
public PrefsCmd()
-
-
Method Details
-
run
public void run() -
initLookAndFeel
protected void initLookAndFeel() -
reset
public void reset()- Overrides:
resetin classorg.scijava.options.OptionsPlugin
-
clearAll
public void clearAll()Clears all of SNT preferences. -
wipe
public static void wipe() -
main
-