com.bolour.sample.eclipse.listener.subject
Class UpdateMenuAction
java.lang.Object
|
+--com.bolour.sample.eclipse.listener.subject.UpdateMenuAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
- public class UpdateMenuAction
- extends java.lang.Object
- implements org.eclipse.ui.IWorkbenchWindowActionDelegate
Menu event handler for testing listeners
notification.
Method Summary |
void |
dispose()
|
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
run(org.eclipse.jface.action.IAction action)
Event handler for the update menu action. |
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 |
UpdateMenuAction
public UpdateMenuAction()
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
init
public void init(org.eclipse.ui.IWorkbenchWindow window)
- Specified by:
init
in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
run
public void run(org.eclipse.jface.action.IAction action)
- Event handler for the update menu action.
Updates the state of the plugin instance.
- Specified by:
run
in interface org.eclipse.ui.IActionDelegate
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