org.eclipse.cdt.ui.actions
Class BuildActiveConfigMenuAction

java.lang.Object
  extended by org.eclipse.cdt.ui.actions.ChangeBuildConfigActionBase
      extended by org.eclipse.cdt.ui.actions.BuildActiveConfigMenuAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate, org.eclipse.ui.IWorkbenchWindowPulldownDelegate, org.eclipse.ui.IWorkbenchWindowPulldownDelegate2

public class BuildActiveConfigMenuAction
extends ChangeBuildConfigActionBase
implements org.eclipse.ui.IWorkbenchWindowPulldownDelegate2

Implements a toolbar button that builds the active configuration of selected projects. Also includes a menu that builds any of the other configurations.


Constructor Summary
BuildActiveConfigMenuAction()
           
 
Method Summary
 void dispose()
           
 org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
           
 org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent)
           
 void init(org.eclipse.ui.IWorkbenchWindow window)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildActiveConfigMenuAction

public BuildActiveConfigMenuAction()
Method Detail

getMenu

public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent)
Specified by:
getMenu in interface org.eclipse.ui.IWorkbenchWindowPulldownDelegate2
See Also:
IWorkbenchWindowPulldownDelegate2.getMenu(org.eclipse.swt.widgets.Menu)

getMenu

public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
Specified by:
getMenu in interface org.eclipse.ui.IWorkbenchWindowPulldownDelegate
See Also:
IWorkbenchWindowPulldownDelegate.getMenu(org.eclipse.swt.widgets.Control)

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
See Also:
IWorkbenchWindowActionDelegate.dispose()

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
See Also:
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)