org.eclipse.jdt.ui.actions
Class CustomFiltersActionGroup
java.lang.Object
|
+--org.eclipse.ui.actions.ActionGroup
|
+--org.eclipse.jdt.ui.actions.CustomFiltersActionGroup
- public class CustomFiltersActionGroup
- extends ActionGroup
Action group to add the filter action to a view part's toolbar
menu.
This class may be instantiated; it is not intended to be subclassed.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomFiltersActionGroup
public CustomFiltersActionGroup(IViewPart part,
StructuredViewer viewer)
- Creates a new
CustomFiltersActionGroup
.
- Parameters:
part
- the view part that owns this action groupviewer
- the viewer to be filtered
fillActionBars
public void fillActionBars(IActionBars actionBars)
- Overrides:
fillActionBars
in class ActionGroup
dispose
public void dispose()
- Overrides:
dispose
in class ActionGroup
saveState
public void saveState(IMemento memento)
- Saves the state of the custom filters in a memento.
- Parameters:
memento
- the memento into which the state is saved
restoreState
public void restoreState(IMemento memento)
- Restores the state of the filter actions from a memento.
Note: This method does not refresh the viewer.
- Parameters:
memento
- the memento from which the state is restored
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.