Package org.dawnsci.conversion.ui
Class ConvertWizardHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.dawnsci.conversion.ui.ConvertWizardHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler,org.eclipse.core.commands.IHandler2,org.eclipse.ui.IActionDelegate,org.eclipse.ui.IObjectActionDelegate
public class ConvertWizardHandler
extends org.eclipse.core.commands.AbstractHandler
implements org.eclipse.ui.IObjectActionDelegate
ConvertWizard shows a wizard for converting synchrotron data
to more common file types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(org.eclipse.core.commands.ExecutionEvent event) booleanbooleanvoidrun(org.eclipse.jface.action.IAction action) voidselectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection) voidsetActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart) Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, removeHandlerListener, setBaseEnabled, setEnabledMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
ConvertWizardHandler
public ConvertWizardHandler()
-
-
Method Details
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Specified by:
executein interfaceorg.eclipse.core.commands.IHandler- Throws:
org.eclipse.core.commands.ExecutionException
-
run
public void run(org.eclipse.jface.action.IAction action) - Specified by:
runin interfaceorg.eclipse.ui.IActionDelegate
-
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection) - Specified by:
selectionChangedin interfaceorg.eclipse.ui.IActionDelegate
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceorg.eclipse.core.commands.IHandler- Overrides:
isEnabledin classorg.eclipse.core.commands.AbstractHandler
-
isHandled
public boolean isHandled()- Specified by:
isHandledin interfaceorg.eclipse.core.commands.IHandler- Overrides:
isHandledin classorg.eclipse.core.commands.AbstractHandler
-
setActivePart
public void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart) - Specified by:
setActivePartin interfaceorg.eclipse.ui.IObjectActionDelegate
-