public class AbstractLaunchToolbarAction extends AbstractLaunchHistoryAction
Clients may subclass this class.
fRecreateMenu| Constructor and Description |
|---|
AbstractLaunchToolbarAction(String launchGroupIdentifier)
Constructs a launch toolbar action.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillMenu(Menu menu)
Fills the drop-down menu with favorites and launch history,
launch shortcuts, and an action to open the launch configuration dialog.
|
protected IAction |
getOpenDialogAction()
Returns an action to open the launch dialog
|
void |
run(IAction action)
Launch the last launch, or open the launch config dialog if none.
|
addSeparator, addToMenu, dispose, getAction, getLastLaunch, getLaunchGroupIdentifier, getLaunchHistory, getMenu, getMenu, getMode, getToolTip, init, launchHistoryChanged, selectionChanged, updateTooltippublic AbstractLaunchToolbarAction(String launchGroupIdentifier)
launchGroupIdentifier - unique identifier of the launch group
extension that this action displays a launch history, shortcuts, and
launch configuration dialog for.protected void fillMenu(Menu menu)
fillMenu in class AbstractLaunchHistoryActionmenu - the menu to fillprotected IAction getOpenDialogAction()
public void run(IAction action)
run in interface IActionDelegaterun in class AbstractLaunchHistoryActionaction - the action proxy that handles the presentation portion of the
actionIActionDelegate.run(org.eclipse.jface.action.IAction)Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.