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, getFavorites, getHistory, getLastLaunch, getLaunchGroupIdentifier, getLaunchHistory, getMenu, getMenu, getMode, getToolTip, init, init, launchHistoryChanged, runWithEvent, selectionChanged, updateTooltip
public 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 AbstractLaunchHistoryAction
menu
- the menu to fillprotected IAction getOpenDialogAction()
OpenLaunchDialogAction
public void run(IAction action)
run
in interface IActionDelegate
run
in class AbstractLaunchHistoryAction
action
- the action proxy that handles the presentation portion of the
actionIActionDelegate.run(org.eclipse.jface.action.IAction)
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.