|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.ui.actions.ActionGroup
|
+--org.eclipse.jdt.ui.actions.CustomFiltersActionGroup
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.
| Constructor Summary | |
CustomFiltersActionGroup(IViewPart part,
StructuredViewer viewer)
Creates a new CustomFiltersActionGroup. |
|
| Method Summary | |
void |
dispose()
|
void |
fillActionBars(IActionBars actionBars)
|
void |
restoreState(IMemento memento)
Restores the state of the filter actions from a memento. |
void |
saveState(IMemento memento)
Saves the state of the custom filters in a memento. |
| Methods inherited from class org.eclipse.ui.actions.ActionGroup |
fillContextMenu, getContext, setContext, updateActionBars |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CustomFiltersActionGroup(IViewPart part,
StructuredViewer viewer)
CustomFiltersActionGroup.
part - the view part that owns this action groupviewer - the viewer to be filtered| Method Detail |
public void fillActionBars(IActionBars actionBars)
fillActionBars in class ActionGrouppublic void dispose()
dispose in class ActionGrouppublic void saveState(IMemento memento)
memento - the memento into which the state is savedpublic void restoreState(IMemento memento)
Note: This method does not refresh the viewer.
memento - the memento from which the state is restored
|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||