Class AbstractContributeWizardsAction

  • All Implemented Interfaces:
    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 Object
    implements org.eclipse.ui.IObjectActionDelegate, org.eclipse.jface.action.IMenuCreator, org.eclipse.swt.events.MenuListener
    • Field Detail

      • selection

        protected org.eclipse.jface.viewers.ISelection selection
      • targetPart

        protected org.eclipse.ui.IWorkbenchPart targetPart
    • Constructor Detail

      • AbstractContributeWizardsAction

        public AbstractContributeWizardsAction()
        Constructor for ContributeWizardsAction.
    • Method Detail

      • setActivePart

        public void setActivePart​(org.eclipse.jface.action.IAction action,
                                  org.eclipse.ui.IWorkbenchPart targetPart)
        Specified by:
        setActivePart in interface org.eclipse.ui.IObjectActionDelegate
        See Also:
        IObjectActionDelegate.setActivePart(IAction, IWorkbenchPart)
      • run

        public void run​(org.eclipse.jface.action.IAction action)
        Specified by:
        run in interface org.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 interface org.eclipse.ui.IActionDelegate
        See Also:
        IActionDelegate.selectionChanged(IAction, ISelection)
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.eclipse.jface.action.IMenuCreator
      • getMenu

        public org.eclipse.swt.widgets.Menu getMenu​(org.eclipse.swt.widgets.Menu parent)
        Specified by:
        getMenu in interface org.eclipse.jface.action.IMenuCreator
      • getMenu

        public org.eclipse.swt.widgets.Menu getMenu​(org.eclipse.swt.widgets.Control parent)
        Specified by:
        getMenu in interface org.eclipse.jface.action.IMenuCreator
      • menuHidden

        public void menuHidden​(org.eclipse.swt.events.MenuEvent e)
        Specified by:
        menuHidden in interface org.eclipse.swt.events.MenuListener
      • menuShown

        public void menuShown​(org.eclipse.swt.events.MenuEvent e)
        Specified by:
        menuShown in interface org.eclipse.swt.events.MenuListener
      • getEObject

        protected abstract org.eclipse.emf.ecore.EObject getEObject​(Object selected)
      • getEditingDomain

        protected abstract org.eclipse.emf.edit.domain.EditingDomain getEditingDomain()
      • execute

        protected void execute​(org.eclipse.emf.common.command.Command command)