Package sc.fiji.snt.gui.cmds
Class CommonDynamicCmd
java.lang.Object
org.scijava.module.AbstractModule
org.scijava.module.DefaultMutableModule
org.scijava.command.DynamicCommand
sc.fiji.snt.gui.cmds.CommonDynamicCmd
- 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
- Direct Known Subclasses:
AnalyzerCmd,AnnotationDensityCmd,AnnotationGraphGeneratorCmd,BackupManagerCmd,BinaryTracerCmd,BrainAnnotationCmd,ChooseDatasetCmd,ColorMapReconstructionCmd,ComputeSecondaryImg,DistributionBPCmd,DistributionCPCmd,DuplicateCmd,FigCreatorCmd,FilterOrTagPathsByAngleCmd,GraphGeneratorCmd,GroupAnalyzerCmd,GrowthAnalyzerCmd,GWDTTracerCmd,InsectBrainImporterCmd,InterpolateRadiiCmd,JSONImporterCmd,LabkitLoaderCmd,LoadReconstructionCmd,LocalThicknessCmd,MLImporterCmd,NDFImporterCmd,NodeProfiler,OpenDatasetCmd,PathAnalyzerCmd,PathMatcherCmd,PathProfiler,PathSpineAnalysisCmd,PathTimeAnalysisCmd,PeripathDetectorCmd,PlotterCmd,RemoteSWCImporterCmd,RestoreSessionCmd,RootAngleAnalyzerCmd,SaveMeasurementsCmd,SaveSessionCmd,ShollAnalysisBulkTreeCmd,ShollAnalysisTreeCmd,SomaDetectorCmd,TranslateReconstructionsCmd,TreeMapperCmd,TwoDHistCmd,WekaModelLoader
Command class for GUI commands extending DynamicCommand
- Author:
- Tiago Ferreira
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected SNTprotected SNTServiceprotected org.scijava.app.StatusServiceprotected SNTUIprotected org.scijava.ui.UIServiceFields inherited from class org.scijava.command.DynamicCommand
moduleService, pluginService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidprotected voidprotected voidinit(boolean abortIfInactive) booleanprotected voidprotected voidprotected voidnotifyLoadingEnd(Viewer3D recViewer) protected voidnotifyLoadingStart(Viewer3D recViewer) protected voidresetUI()protected voidresetUI(boolean validateDimensions) protected voidresetUI(boolean validateDimensions, int state) voidrun()protected voidMethods inherited from class org.scijava.command.DynamicCommand
context, getCancelReason, getContext, getInfo, getInput, getOutput, 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
-
HEADER_HTML
- See Also:
-
EMPTY_LABEL
- See Also:
-
statusService
-
uiService
-
sntService
-
snt
-
ui
-
-
Constructor Details
-
CommonDynamicCmd
public CommonDynamicCmd()
-
-
Method Details
-
init
protected void init(boolean abortIfInactive) -
status
-
isCanceled
public boolean isCanceled()- Specified by:
isCanceledin interfaceorg.scijava.Cancelable- Overrides:
isCanceledin classorg.scijava.command.DynamicCommand
-
cancel
public void cancel()- Specified by:
cancelin interfaceorg.scijava.module.Module- Overrides:
cancelin classorg.scijava.module.AbstractModule
-
cancel
- Specified by:
cancelin interfaceorg.scijava.Cancelable- Overrides:
cancelin classorg.scijava.command.DynamicCommand
-
error
-
msg
-
notifyLoadingStart
-
notifyLoadingEnd
-
resetUI
protected void resetUI() -
resetUI
protected void resetUI(boolean validateDimensions) -
resetUI
protected void resetUI(boolean validateDimensions, int state) -
notifyExternalDataLoaded
protected void notifyExternalDataLoaded() -
run
public void run()
-