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