org.eclipse.cdt.internal.ui.cview
Class BuildGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.cdt.internal.ui.cview.CViewActionGroup
org.eclipse.cdt.internal.ui.cview.BuildGroup
public class BuildGroup
- extends CViewActionGroup
This is the action group for workspace actions such as Build
Method Summary |
void |
fillActionBars(org.eclipse.ui.IActionBars actionBars)
|
void |
fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
Adds the build actions to the context menu. |
void |
handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
Handles a key pressed event by invoking the appropriate action. |
void |
updateActionBars()
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
dispose, getContext, setContext |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildGroup
public BuildGroup(CView cview)
fillActionBars
public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
- Specified by:
fillActionBars
in class CViewActionGroup
fillContextMenu
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu)
- Adds the build actions to the context menu.
The following conditions apply: build-only projects selected, auto build
disabled, at least one * builder present
No disabled action should be on the context menu.
- Specified by:
fillContextMenu
in class CViewActionGroup
- Parameters:
menu
- context menu to add actions to
handleKeyPressed
public void handleKeyPressed(org.eclipse.swt.events.KeyEvent event)
- Handles a key pressed event by invoking the appropriate action.
- Overrides:
handleKeyPressed
in class CViewActionGroup
updateActionBars
public void updateActionBars()
- Specified by:
updateActionBars
in class CViewActionGroup