Eclipse Platform
2.0

org.eclipse.ui.dialogs
Interface FilteredList.FilterMatcher

Enclosing interface:
FilteredList

public static interface FilteredList.FilterMatcher


Method Summary
 boolean match(Object element)
          Returns true if the object matches the pattern, false otherwise.
 void setFilter(String pattern, boolean ignoreCase, boolean ignoreWildCards)
          Sets the filter.
 

Method Detail

setFilter

public 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

public boolean match(Object element)
Returns true if the object matches the pattern, false otherwise. setFilter() must have been called at least once prior to a call to this method.


Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.