org.eclipse.emf.common.ui.action
Class WorkbenchWindowActionDelegate
java.lang.Object
org.eclipse.emf.common.ui.action.WorkbenchWindowActionDelegate
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
- public abstract class WorkbenchWindowActionDelegate
- extends Object
- implements org.eclipse.ui.IWorkbenchWindowActionDelegate
Simple implementation of IWorkbenchWindowActionDelegate.
|
Method Summary |
void |
dispose()
|
protected org.eclipse.jface.viewers.ISelection |
getSelection()
|
protected org.eclipse.ui.IWorkbenchWindow |
getWindow()
|
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IActionDelegate |
run |
WorkbenchWindowActionDelegate
public WorkbenchWindowActionDelegate()
getWindow
protected org.eclipse.ui.IWorkbenchWindow getWindow()
- Returns:
- the
IWorkbenchWindow associated with this instance.
getSelection
protected org.eclipse.jface.viewers.ISelection getSelection()
- Returns:
- the
ISelection.
init
public void init(org.eclipse.ui.IWorkbenchWindow window)
- Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
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
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate