Class RepeatCommandHandler
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.RepeatCommandHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.core.commands.IHandler2,org.eclipse.ui.IActionDelegate,org.eclipse.ui.IEditorActionDelegate
Similar to DuplicateCommandHandler, but only works on ScanObjects. In this case it does not make new xml files, but
uses exactly the same xml files in a new scan.
-
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
Methods inherited from class uk.ac.gda.client.experimentdefinition.ui.handlers.AbstractExperimentCommandHandler
getActionType, getEditorManager, isFolder, isRun, isScan, 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
-
RepeatCommandHandler
public RepeatCommandHandler()
-
-
Method Details
-
run
public void run(org.eclipse.jface.action.IAction action) - Specified by:
runin interfaceorg.eclipse.ui.IActionDelegate- Overrides:
runin classAbstractExperimentCommandHandler
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Throws:
org.eclipse.core.commands.ExecutionException
-