public class BuildActionGroup extends ActionGroup
This class may be instantiated; it is not intended to be subclassed.
Constructor and Description |
---|
BuildActionGroup(IViewPart part)
Creates a new
BuildActionGroup . |
BuildActionGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
Creates a new
BuildActionGroup . |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
fillActionBars(IActionBars actionBar) |
void |
fillContextMenu(IMenuManager menu) |
IAction |
getRefreshAction()
Returns the refresh action managed by this group.
|
getContext, setContext, updateActionBars
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 grouppublic 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.public IAction getRefreshAction()
null
is returnedpublic void fillActionBars(IActionBars actionBar)
fillActionBars
in class ActionGroup
public void fillContextMenu(IMenuManager menu)
fillContextMenu
in class ActionGroup
public void dispose()
dispose
in class ActionGroup
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.