com.bolour.sample.eclipse.demo
Class PrintMemberMenuAction

java.lang.Object
  |
  +--com.bolour.sample.eclipse.demo.PrintMemberMenuAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate

public class PrintMemberMenuAction
extends java.lang.Object
implements org.eclipse.ui.IWorkbenchWindowActionDelegate

Event handler for menu to print extension members.

Author:
Azad

Constructor Summary
PrintMemberMenuAction()
           
 
Method Summary
 void dispose()
           
 void init(org.eclipse.ui.IWorkbenchWindow window)
           
 void run(org.eclipse.jface.action.IAction action)
          The extension processing demo menu handler.
 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
 

Constructor Detail

PrintMemberMenuAction

public PrintMemberMenuAction()
Method Detail

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)
The extension processing demo menu handler. Uses the class PrintMenuIdentity to print identifying information on each member of the actionSets extension-point.
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