org.eclipse.gmt.umlx.editor.delegates
Class EditorAction

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.delegates.EditorAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate
Direct Known Subclasses:
AbstractOpenSheetAction, CloseSheetAction, OpenSheetAction

public abstract class EditorAction
extends java.lang.Object
implements org.eclipse.ui.IObjectActionDelegate


Constructor Summary
EditorAction()
           
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
           
abstract  void run(MultiSheetEditor editor, org.eclipse.jface.viewers.IStructuredSelection structuredSelection)
           
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorAction

public EditorAction()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate

run

public abstract void run(MultiSheetEditor editor,
                         org.eclipse.jface.viewers.IStructuredSelection structuredSelection)

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

setActivePart

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