|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.viewers.ViewerFilter
net.sourceforge.java.util.gui.jface.viewers.NodeViewerFilter
Filters all ITreeElements that allow sub elements.
Supplementally a single ITreeElement can be specified which
should always be filtered out.
| Field Summary | |
private ITreeElement |
excludedElement
The ITreeElement that is always filtered out |
| Constructor Summary | |
NodeViewerFilter(ITreeElement excludedElement)
Creates a new NodeViewerFilter instance.
|
|
| Method Summary | |
boolean |
select(Viewer viewer,
Object parentElement,
Object element)
Returns whether the given element makes it through this filter. |
| Methods inherited from class org.eclipse.jface.viewers.ViewerFilter |
filter, filter, isFilterProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private ITreeElement excludedElement
The ITreeElement that is always filtered out
| Constructor Detail |
public NodeViewerFilter(ITreeElement excludedElement)
Creates a new NodeViewerFilter instance.
excludedElement - an ITreeElement which should be
always filtered out| Method Detail |
public boolean select(Viewer viewer,
Object parentElement,
Object element)
Returns whether the given element makes it through this filter.
viewer - the viewerparentElement - the parent elementelement - the element
true if element is included in the filtered set,
and false if excludedViewerFilter.select(org.eclipse.jface.viewers.Viewer,
java.lang.Object, java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||