Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui.actions
Class AbstractLaunchToolbarAction

java.lang.Object
  extended by 

org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction
      extended by 
org.eclipse.debug.ui.actions.AbstractLaunchToolbarAction
All Implemented Interfaces:
org.eclipse.debug.internal.ui.ILaunchHistoryChangedListener, IActionDelegate, IWorkbenchWindowActionDelegate, IWorkbenchWindowPulldownDelegate, IWorkbenchWindowPulldownDelegate2

public class AbstractLaunchToolbarAction
extends AbstractLaunchHistoryAction

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 Summary
 
Fields inherited from class org.eclipse.debug.ui.actions. AbstractLaunchHistoryAction
fRecreateMenu
 
Constructor Summary
AbstractLaunchToolbarAction ( String launchGroupIdentifier)
          Constructs a launch toolbar action.
 
Method Summary
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.
 
Methods inherited from class org.eclipse.debug.ui.actions. AbstractLaunchHistoryAction
addSeparator, addToMenu, dispose, getAction, getFavorites, getHistory, getLastLaunch, getLaunchGroupIdentifier, getLaunchHistory, getMenu, getMenu, getMode, getToolTip, init, launchHistoryChanged, selectionChanged, updateTooltip
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLaunchToolbarAction

public AbstractLaunchToolbarAction(
String launchGroupIdentifier)
Constructs 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 Detail

fillMenu

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.

Overrides:
fillMenu in class AbstractLaunchHistoryAction
Parameters:
menu - the menu to fill

getOpenDialogAction

protected 
IAction getOpenDialogAction()
Returns an action to open the launch dialog

Since:
3.1

run

public void run(
IAction action)
Launch the last launch, or open the launch config dialog if none.

Specified by:
run in interface IActionDelegate
Overrides:
run in class AbstractLaunchHistoryAction
Parameters:
action - the action proxy that handles the presentation portion of the action
See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire