Class RunExperimentNewQueueCommandHandler
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
uk.ac.gda.client.experimentdefinition.ui.handlers.RunExperimentNewQueueCommandHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.core.commands.IHandler2,org.eclipse.ui.IActionDelegate,org.eclipse.ui.IEditorActionDelegate
- Direct Known Subclasses:
QueueAndRunExperimentNewQueueCommandHandler
Extends
RunExperimentCommandHandler to override submitCommandToQueue(ExperimentCommandProvider)
to place an ExperimentCommandBean on the new ActiveMQ based queue (so that it is
shown in the StatusQueueView), instead of the old CommandQueue (shown in the
CommandQueueView).-
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 TypeMethodDescriptionvoiddispose()protected voidsubmitCommandToQueue(ExperimentCommandProvider commandProvider) Methods inherited from class uk.ac.gda.client.experimentdefinition.ui.handlers.RunExperimentCommandHandler
execute, queueMultiScan, queueSeveralMultiScans, queueSingleScan, queueSingleScanSingleRepetition, setCancelAll, setMotorStageWarningMethods 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, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabledMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
RunExperimentNewQueueCommandHandler
public RunExperimentNewQueueCommandHandler()
-
-
Method Details
-
submitCommandToQueue
protected void submitCommandToQueue(ExperimentCommandProvider commandProvider) throws org.eclipse.core.commands.ExecutionException - Overrides:
submitCommandToQueuein classRunExperimentCommandHandler- Throws:
org.eclipse.core.commands.ExecutionException
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.core.commands.IHandler- Overrides:
disposein classorg.eclipse.core.commands.AbstractHandler
-