|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.javadocbuilder.core.actions.DebugAction
Our sample action implements workbench action delegate. The action proxy will be created by the workbench and shown in the UI. When the user tries to use the action, this delegate will be created and execution will be delegated to it.
IWorkbenchWindowActionDelegate
Constructor Summary | |
DebugAction()
The constructor. |
Method Summary | |
void |
dispose()
We can use this method to dispose of any system resources we previously allocated. |
void |
init(IWorkbenchWindow window)
We will cache window object in order to be able to provide parent shell for the message dialog. |
void |
run(IAction action)
The action has been activated. |
void |
selectionChanged(IAction action,
ISelection selection)
Selection in the workbench has been changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DebugAction()
Method Detail |
public void run(IAction action)
IWorkbenchWindowActionDelegate#run
public void selectionChanged(IAction action, ISelection selection)
IWorkbenchWindowActionDelegate#selectionChanged
public void dispose()
IWorkbenchWindowActionDelegate#dispose
public void init(IWorkbenchWindow window)
IWorkbenchWindowActionDelegate#init
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |