|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.viewers.ViewerFilter
org.eclipse.ui.ResourceWorkingSetFilter
A resource working set filter filters resources from a view that are neither a parent nor children of a working set element.
| Constructor Summary | |
|---|---|
ResourceWorkingSetFilter()
|
|
| Method Summary | |
|---|---|
Object[] |
filter(Viewer viewer,
Object parent,
Object[] elements)
Filters out elements that are neither a parent nor a child of a working set element. |
IWorkingSet |
getWorkingSet()
Returns the active working set the filter is working with. |
boolean |
select(Viewer viewer,
Object parentElement,
Object element)
Determines if an element should be filtered out. |
void |
setWorkingSet(IWorkingSet workingSet)
Sets the active working set. |
| Methods inherited from class org.eclipse.jface.viewers.ViewerFilter |
|---|
filter, isFilterProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ResourceWorkingSetFilter()
| Method Detail |
public IWorkingSet getWorkingSet()
public void setWorkingSet(IWorkingSet workingSet)
workingSet - the working set the filter should work with
public boolean select(Viewer viewer,
Object parentElement,
Object element)
select in class ViewerFilterviewer - the viewerparentElement - the parent elementelement - the element
true if element is included in the
filtered set, and false if excludedViewerFilter.select(Viewer, Object, Object)
public Object[] filter(Viewer viewer,
Object parent,
Object[] elements)
filter in class ViewerFilterviewer - the viewerparent - the parent elementelements - the elements to filter
ViewerFilter.filter(Viewer, Object, Object[])
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.