public class WorkingSetFilterActionGroup extends ActionGroup
Modifier and Type | Field and Description |
---|---|
static String |
CHANGE_WORKING_SET |
Constructor and Description |
---|
WorkingSetFilterActionGroup(Shell shell,
IPropertyChangeListener workingSetUpdater)
Creates a new instance of the receiver.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Removes the menu listener
|
void |
fillActionBars(IActionBars actionBars)
Adds working set actions to the specified action bar.
|
IWorkingSet |
getWorkingSet()
Returns the working set which is currently selected.
|
void |
setWorkingSet(IWorkingSet newWorkingSet)
Sets the current working set.
|
fillContextMenu, getContext, setContext, updateActionBars
public static final String CHANGE_WORKING_SET
public WorkingSetFilterActionGroup(Shell shell, IPropertyChangeListener workingSetUpdater)
shell
- shell to open dialogs and wizards onworkingSetUpdater
- property change listener notified when a working set is setIWorkingSet.isAggregateWorkingSet()
method returns
true
somewhat differently from traditional working
sets. Please see the documentation for
IWorkbenchPage.getAggregateWorkingSet()
for details.public void dispose()
dispose
in class ActionGroup
ActionGroup.dispose()
public void fillActionBars(IActionBars actionBars)
fillActionBars
in class ActionGroup
actionBars
- action bar to add working set actions to.ActionGroup.fillActionBars(IActionBars)
public IWorkingSet getWorkingSet()
public void setWorkingSet(IWorkingSet newWorkingSet)
newWorkingSet
- the new working setGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.