Package org.eclipse.epsilon.ewl.emf
Class AbstractContributeWizardsAction
- java.lang.Object
-
- org.eclipse.epsilon.ewl.emf.AbstractContributeWizardsAction
-
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.jface.action.IMenuCreator
,org.eclipse.swt.events.MenuListener
,org.eclipse.swt.internal.SWTEventListener
,org.eclipse.ui.IActionDelegate
,org.eclipse.ui.IObjectActionDelegate
- Direct Known Subclasses:
ContributeEmfWizardsAction
,ContributeGmfWizardsAction
public abstract class AbstractContributeWizardsAction extends java.lang.Object implements org.eclipse.ui.IObjectActionDelegate, org.eclipse.jface.action.IMenuCreator, org.eclipse.swt.events.MenuListener
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.jface.viewers.ISelection
selection
protected org.eclipse.ui.IWorkbenchPart
targetPart
-
Constructor Summary
Constructors Constructor Description AbstractContributeWizardsAction()
Constructor for ContributeWizardsAction.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
dispose()
protected void
execute(org.eclipse.emf.common.command.Command command)
protected abstract org.eclipse.emf.edit.domain.EditingDomain
getEditingDomain()
protected abstract org.eclipse.emf.ecore.EObject
getEObject(java.lang.Object selected)
org.eclipse.swt.widgets.Menu
getMenu(org.eclipse.swt.widgets.Control parent)
org.eclipse.swt.widgets.Menu
getMenu(org.eclipse.swt.widgets.Menu parent)
protected abstract WorkbenchPartRefresher
getWorkbenchPartRefresher()
void
menuHidden(org.eclipse.swt.events.MenuEvent e)
void
menuShown(org.eclipse.swt.events.MenuEvent e)
void
run(org.eclipse.jface.action.IAction action)
void
selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
void
setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
-
-
-
Method Detail
-
setActivePart
public void setActivePart(org.eclipse.jface.action.IAction action, org.eclipse.ui.IWorkbenchPart targetPart)
- Specified by:
setActivePart
in interfaceorg.eclipse.ui.IObjectActionDelegate
- See Also:
IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)
-
run
public void run(org.eclipse.jface.action.IAction action)
- Specified by:
run
in interfaceorg.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.run(IAction)
-
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged
in interfaceorg.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.selectionChanged(IAction, ISelection)
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.jface.action.IMenuCreator
-
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent)
- Specified by:
getMenu
in interfaceorg.eclipse.jface.action.IMenuCreator
-
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
- Specified by:
getMenu
in interfaceorg.eclipse.jface.action.IMenuCreator
-
menuHidden
public void menuHidden(org.eclipse.swt.events.MenuEvent e)
- Specified by:
menuHidden
in interfaceorg.eclipse.swt.events.MenuListener
-
menuShown
public void menuShown(org.eclipse.swt.events.MenuEvent e)
- Specified by:
menuShown
in interfaceorg.eclipse.swt.events.MenuListener
-
getEObject
protected abstract org.eclipse.emf.ecore.EObject getEObject(java.lang.Object selected)
-
getEditingDomain
protected abstract org.eclipse.emf.edit.domain.EditingDomain getEditingDomain()
-
getWorkbenchPartRefresher
protected abstract WorkbenchPartRefresher getWorkbenchPartRefresher()
-
execute
protected void execute(org.eclipse.emf.common.command.Command command)
-
-