Class FilteringOutlinePopup.ElementMatcher
java.lang.Object
org.eclipse.handly.ui.quickoutline.FilteringOutlinePopup.ElementMatcher
- Enclosing class:
FilteringOutlinePopup
-
Constructor Summary
ConstructorsConstructorDescriptionElementMatcher(Predicate<String> stringMatcher) Creates a new element matcher based on the given string matcher. -
Method Summary
-
Constructor Details
-
ElementMatcher
-
-
Method Details
-
test
-
getText
Returns the text for the given outline element.Default implementation returns the label string obtained from the tree viewer's label provider.
- Parameters:
element- the outline element (nevernull)- Returns:
- the text for the given outline element,
or
nullif no text can be obtained
-