java.lang.Object | +--com.ibm.lab.soln.extensionpoint.ToolActionsPulldownDelegate
Creates the menu items for the
common tools toolbar pulldown menu.
When an item is selected, it invokes
the run() of the corresponding IToolsAction
instance specified on the
<tool action=IToolsAction label="xxx"> tag.
ExtensionProcessor,
IToolAction| Constructor Summary | |
ToolActionsPulldownDelegate()
|
|
| Method Summary | |
void |
dispose()
|
org.eclipse.swt.widgets.Menu |
getMenu(org.eclipse.swt.widgets.Control parent)
Returns the menu for this pull down action. |
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
run(org.eclipse.jface.action.IAction action)
Notifies this action delegate that menu pulldown was selected (i.e., not one of its menu item choices). |
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 |
public ToolActionsPulldownDelegate()
| Method Detail |
public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegatepublic org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
getMenu in interface org.eclipse.ui.IWorkbenchWindowPulldownDelegatepublic void init(org.eclipse.ui.IWorkbenchWindow window)
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegatepublic void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegate
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
selectionChanged in interface org.eclipse.ui.IActionDelegate