Package org.eclipse.ui.dialogs
Interface FilteredList.FilterMatcher
-
- Enclosing class:
- FilteredList
public static interface FilteredList.FilterMatcherThe FilterMatcher is the interface used to check filtering criterea.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatch(Object element)voidsetFilter(String pattern, boolean ignoreCase, boolean ignoreWildCards)Sets the filter.
-
-
-
Method Detail
-
setFilter
void setFilter(String pattern, boolean ignoreCase, boolean ignoreWildCards)
Sets the filter.- Parameters:
pattern- the filter pattern.ignoreCase- a flag indicating whether pattern matching is case insensitive or not.ignoreWildCards- a flag indicating whether wildcard characters are interpreted or not.
-
match
boolean match(Object element)
- Parameters:
element- The element to test against.- Returns:
trueif the object matches the pattern,falseotherwise.setFilter()must have been called at least once prior to a call to this method.
-
-