| java.lang.Object com.xoetrope.editor.eclipse.XuiProShowServiceManagerAction
XuiProShowServiceManagerAction | public class XuiProShowServiceManagerAction implements IWorkbenchWindowActionDelegate(Code) | | 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.
See Also: IWorkbenchWindowActionDelegate |
Method Summary | |
public void | dispose() We can use this method to dispose of any system resources we previously
allocated. | public void | init(IWorkbenchWindow window) We will cache window object in order to be able to provide parent shell for
the message dialog. | public void | run(IAction action) The action has been activated. | public void | selectionChanged(IAction action, ISelection selection) Selection in the workbench has been changed. |
XuiProShowServiceManagerAction | public XuiProShowServiceManagerAction()(Code) | | The constructor.
|
dispose | public void dispose()(Code) | | We can use this method to dispose of any system resources we previously
allocated.
See Also: IWorkbenchWindowActionDelegate.dispose |
init | public void init(IWorkbenchWindow window)(Code) | | We will cache window object in order to be able to provide parent shell for
the message dialog.
See Also: IWorkbenchWindowActionDelegate.init |
run | public void run(IAction action)(Code) | | The action has been activated. The argument of the method represents the
'real' action sitting in the workbench UI.
See Also: IWorkbenchWindowActionDelegate.run |
selectionChanged | public void selectionChanged(IAction action, ISelection selection)(Code) | | Selection in the workbench has been changed. We can change the state of the
'real' action here if we want, but this can only happen after the delegate
has been created.
See Also: IWorkbenchWindowActionDelegate.selectionChanged |
|
|