|
||||||||||
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.cdt.ui.actions.CustomFiltersActionGroup
public class CustomFiltersActionGroup
Action group to add the filter action to a view part's tool bar menu.
This class may be instantiated; it is not intended to be subclassed.
Constructor Summary | |
---|---|
CustomFiltersActionGroup(org.eclipse.ui.IViewPart part,
org.eclipse.jface.viewers.StructuredViewer viewer)
Creates a new CustomFiltersActionGroup . |
|
CustomFiltersActionGroup(java.lang.String ownerId,
org.eclipse.jface.viewers.StructuredViewer viewer)
Creates a new CustomFiltersActionGroup . |
Method Summary | |
---|---|
void |
dispose()
|
void |
fillActionBars(org.eclipse.ui.IActionBars actionBars)
|
void |
fillViewMenu(org.eclipse.jface.action.IMenuManager viewMenu)
|
java.lang.String[] |
removeFiltersFor(java.lang.Object parent,
java.lang.Object element,
org.eclipse.jface.viewers.IContentProvider contentProvider)
|
void |
restoreState(org.eclipse.ui.IMemento memento)
Restores the state of the filter actions from a memento. |
void |
saveState(org.eclipse.ui.IMemento memento)
Saves the state of the custom filters in a memento. |
void |
setFilters(java.lang.String[] newFilters)
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
---|
fillContextMenu, getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomFiltersActionGroup(org.eclipse.ui.IViewPart part, org.eclipse.jface.viewers.StructuredViewer viewer)
CustomFiltersActionGroup
.
part
- the view part that owns this action groupviewer
- the viewer to be filteredpublic CustomFiltersActionGroup(java.lang.String ownerId, org.eclipse.jface.viewers.StructuredViewer viewer)
CustomFiltersActionGroup
.
ownerId
- the id of this action group's ownerviewer
- the viewer to be filteredMethod Detail |
---|
public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
fillActionBars
in class org.eclipse.ui.actions.ActionGroup
public java.lang.String[] removeFiltersFor(java.lang.Object parent, java.lang.Object element, org.eclipse.jface.viewers.IContentProvider contentProvider)
public void setFilters(java.lang.String[] newFilters)
public void fillViewMenu(org.eclipse.jface.action.IMenuManager viewMenu)
public void dispose()
dispose
in class org.eclipse.ui.actions.ActionGroup
public void saveState(org.eclipse.ui.IMemento memento)
memento
- the memento into which the state is savedpublic void restoreState(org.eclipse.ui.IMemento memento)
Note: This method does not refresh the viewer.
memento
- the memento from which the state is restored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |