Class AbstractContributeWizardsAction

java.lang.Object
org.eclipse.epsilon.ewl.emf.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.eclipse.jface.viewers.ISelection
     
    protected org.eclipse.ui.IWorkbenchPart
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for ContributeWizardsAction.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    execute(org.eclipse.emf.common.command.Command command)
     
    protected abstract org.eclipse.emf.edit.domain.EditingDomain
     
    protected abstract org.eclipse.emf.ecore.EObject
    getEObject(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
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • selection

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

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

    • AbstractContributeWizardsAction

      public AbstractContributeWizardsAction()
      Constructor for ContributeWizardsAction.
  • Method Details

    • 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
    • getEObject

      protected abstract org.eclipse.emf.ecore.EObject getEObject(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)