|
Eclipse JDT Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.actions.ActionGroup
org.eclipse.jdt.ui.actions.BuildActionGroup
public class BuildActionGroup
Contributes all build related actions to the context menu and installs handlers for the corresponding global menu actions.
This class may be instantiated; it is not intended to be subclassed.
| Constructor Summary | |
|---|---|
BuildActionGroup(IViewPart part)
Creates a new BuildActionGroup. |
|
BuildActionGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
Creates a new BuildActionGroup. |
|
| Method Summary | |
|---|---|
void |
dispose()
|
void |
fillActionBars(IActionBars actionBar)
|
void |
fillContextMenu(IMenuManager menu)
|
IAction |
getRefreshAction()
Returns the refresh action managed by this group. |
| Methods inherited from class org.eclipse.ui.actions.ActionGroup |
|---|
getContext, setContext, updateActionBars |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildActionGroup(IViewPart part)
BuildActionGroup. The group requires that
the selection provided by the view part's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection.
part - the view part that owns this action group
public BuildActionGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
BuildActionGroup. The group requires
that the selection provided by the given selection provider is of type
IStructuredSelection.
site - the site that will own the action group.specialSelectionProvider - the selection provider used instead of the
sites selection provider.| Method Detail |
|---|
public IAction getRefreshAction()
null is returnedpublic void fillActionBars(IActionBars actionBar)
fillActionBars in class ActionGrouppublic void fillContextMenu(IMenuManager menu)
fillContextMenu in class ActionGrouppublic void dispose()
dispose in class ActionGroup
|
Eclipse JDT Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.