Class CopyHandler
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.CopyHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.core.commands.IHandler2,org.eclipse.ui.IActionDelegate,org.eclipse.ui.IEditorActionDelegate
-
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
-
CopyHandler
public CopyHandler()
-
-
Method Details
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Throws:
org.eclipse.core.commands.ExecutionException
-
run
public void run(org.eclipse.jface.action.IAction action) - Specified by:
runin interfaceorg.eclipse.ui.IActionDelegate- Overrides:
runin classAbstractExperimentCommandHandler
-
isValidPastePossible
public static boolean isValidPastePossible()- Returns:
- true if some selected files have been copied.
-
getCopied
- Returns:
- objects currently being copied, if any.
-