Class RunExperimentCommandHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
uk.ac.gda.client.experimentdefinition.ui.handlers.AbstractExperimentCommandHandler
uk.ac.gda.client.experimentdefinition.ui.handlers.RunExperimentCommandHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.core.commands.IHandler2,org.eclipse.ui.IActionDelegate,org.eclipse.ui.IEditorActionDelegate
- Direct Known Subclasses:
QueueAndRunExperimentCommandHandler,RunExperimentNewQueueCommandHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class uk.ac.gda.client.experimentdefinition.ui.handlers.AbstractExperimentCommandHandler
AbstractExperimentCommandHandler.ACTION_TYPE -
Field Summary
Fields inherited from class uk.ac.gda.client.experimentdefinition.ui.handlers.AbstractExperimentCommandHandler
actionHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(org.eclipse.core.commands.ExecutionEvent event) protected voidprotected voidprotected voidprotected voidvoidsetCancelAll(boolean cancel) voidsetMotorStageWarning(boolean newWarningValue) protected voidsubmitCommandToQueue(ExperimentCommandProvider commandProvider) Methods inherited from class uk.ac.gda.client.experimentdefinition.ui.handlers.AbstractExperimentCommandHandler
getActionType, getEditorManager, isFolder, isRun, isScan, run, selectionChanged, setActiveEditorMethods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabledMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
RunExperimentCommandHandler
public RunExperimentCommandHandler()
-
-
Method Details
-
setCancelAll
public void setCancelAll(boolean cancel) -
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Throws:
org.eclipse.core.commands.ExecutionException
-
setMotorStageWarning
public void setMotorStageWarning(boolean newWarningValue) -
queueSingleScanSingleRepetition
protected void queueSingleScanSingleRepetition() throws org.eclipse.core.commands.ExecutionException- Throws:
org.eclipse.core.commands.ExecutionException
-
queueSingleScan
protected void queueSingleScan() throws org.eclipse.core.commands.ExecutionException- Throws:
org.eclipse.core.commands.ExecutionException
-
queueMultiScan
protected void queueMultiScan() throws org.eclipse.core.commands.ExecutionException- Throws:
org.eclipse.core.commands.ExecutionException
-
queueSeveralMultiScans
protected void queueSeveralMultiScans() throws org.eclipse.core.commands.ExecutionException- Throws:
org.eclipse.core.commands.ExecutionException
-
submitCommandToQueue
protected void submitCommandToQueue(ExperimentCommandProvider commandProvider) throws org.eclipse.core.commands.ExecutionException - Throws:
org.eclipse.core.commands.ExecutionException
-