public class ResourcePatternFilter extends ViewerFilter
| Constructor and Description |
|---|
ResourcePatternFilter()
Creates a new resource pattern filter.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getPatterns()
Gets the patterns for the receiver.
|
boolean |
select(Viewer viewer,
Object parentElement,
Object element)
Returns whether the given element makes it through this filter.
|
void |
setPatterns(String[] newPatterns)
Sets the patterns to filter out for the receiver.
|
filter, filter, isFilterPropertypublic ResourcePatternFilter()
public String[] getPatterns()
public boolean select(Viewer viewer, Object parentElement, Object element)
ViewerFilterselect in class ViewerFilterviewer - the viewerparentElement - the parent elementelement - the elementtrue if element is included in the
filtered set, and false if excludedpublic void setPatterns(String[] newPatterns)
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.