| java.lang.Object org.eclipse.ui.examples.readmetool.WindowActionDelegate
WindowActionDelegate | public class WindowActionDelegate implements IWorkbenchWindowActionDelegate(Code) | | This class shows how IActionDelegate implementations
should be used for global action registration for menu
and tool bars. Action proxy object is created in the
workbench based on presentation information in the plugin.xml
file. Delegate is not loaded until the first time the user
presses the button or selects the menu. Based on the action
availability, it is possible that the button will disable
instead of executing.
|
Method Summary | |
public void | dispose() | public void | init(IWorkbenchWindow window) | public void | run(IAction action) The WindowActionDelegate implementation of this
IActionDelegate method
launches a stand-alone dialog that contains a list of sections for
the selected readme file in the navigator. | public void | selectionChanged(IAction action, ISelection selection) The WindowActionDelegate implementation of this
IActionDelegate method
does nothing - we will let simple rules in the XML
config file react to selections. |
dispose | public void dispose()(Code) | | |
init | public void init(IWorkbenchWindow window)(Code) | | |
run | public void run(IAction action)(Code) | | The WindowActionDelegate implementation of this
IActionDelegate method
launches a stand-alone dialog that contains a list of sections for
the selected readme file in the navigator.
|
selectionChanged | public void selectionChanged(IAction action, ISelection selection)(Code) | | The WindowActionDelegate implementation of this
IActionDelegate method
does nothing - we will let simple rules in the XML
config file react to selections.
|
|
|