Package org.eclipse.debug.ui.actions
Class AbstractLaunchToolbarAction
java.lang.Object
org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction
org.eclipse.debug.ui.actions.AbstractLaunchToolbarAction
- All Implemented Interfaces:
- org.eclipse.debug.internal.ui.ILaunchHistoryChangedListener,- IActionDelegate,- IActionDelegate2,- IWorkbenchWindowActionDelegate,- IWorkbenchWindowPulldownDelegate,- IWorkbenchWindowPulldownDelegate2
A launch history action that also includes launch shortcut actions (run/debug
 as), and an action to open the launch configuration dialog.
 
Clients may subclass this class.
- Since:
- 2.1
- 
Field SummaryFields inherited from class org.eclipse.debug.ui.actions.AbstractLaunchHistoryActionfRecreateMenu
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractLaunchToolbarAction(String launchGroupIdentifier) Constructs a launch toolbar action.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidFills the drop-down menu with favorites and launch history, launch shortcuts, and an action to open the launch configuration dialog.protected IActionReturns an action to open the launch dialogvoidLaunch the last launch, or open the launch config dialog if none.protected voidrunInternal(IAction action, boolean isShift) Methods inherited from class org.eclipse.debug.ui.actions.AbstractLaunchHistoryActionaddSeparator, addToMenu, dispose, getAction, getFavorites, getHistory, getLastLaunch, getLaunchGroupIdentifier, getLaunchHistory, getMenu, getMenu, getMode, getToolTip, init, init, launchHistoryChanged, runWithEvent, selectionChanged, updateTooltip
- 
Constructor Details- 
AbstractLaunchToolbarActionConstructs a launch toolbar action.- Parameters:
- launchGroupIdentifier- unique identifier of the launch group extension that this action displays a launch history, shortcuts, and launch configuration dialog for.
 
 
- 
- 
Method Details- 
fillMenuFills the drop-down menu with favorites and launch history, launch shortcuts, and an action to open the launch configuration dialog.- Overrides:
- fillMenuin class- AbstractLaunchHistoryAction
- Parameters:
- menu- the menu to fill
 
- 
getOpenDialogActionReturns an action to open the launch dialog- Returns:
- the new OpenLaunchDialogAction
- Since:
- 3.1
 
- 
runLaunch the last launch, or open the launch config dialog if none.- Specified by:
- runin interface- IActionDelegate
- Overrides:
- runin class- AbstractLaunchHistoryAction
- Parameters:
- action- the action proxy that handles the presentation portion of the action
- See Also:
 
- 
runInternal- Overrides:
- runInternalin class- AbstractLaunchHistoryAction
 
 
-