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

public class RunExperimentCommandHandler extends AbstractExperimentCommandHandler
  • 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