diff options
author | Wim Jongman | 2012-12-05 11:20:33 +0000 |
---|---|---|
committer | Wim Jongman | 2012-12-05 11:20:33 +0000 |
commit | 840166dc610f0d863fecbb56eb768f88c5ee0efb (patch) | |
tree | 4a90a9f76f03a6f4fc19981ad58be87526175988 | |
parent | 05128cafc689798d96924c9bd26029d7aea16476 (diff) | |
download | org.eclipse.e4.tools-840166dc610f0d863fecbb56eb768f88c5ee0efb.tar.gz org.eclipse.e4.tools-840166dc610f0d863fecbb56eb768f88c5ee0efb.tar.xz org.eclipse.e4.tools-840166dc610f0d863fecbb56eb768f88c5ee0efb.zip |
bug 391086: Search the model editor tree.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391086
The include leading wildcard for the PatternFilter was lost. Now I add
the leading wildcard on instantiation of the PatternFilter.
-rw-r--r-- | bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PatternFilter.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PatternFilter.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PatternFilter.java index e04663e5..9e82fb41 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PatternFilter.java +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/PatternFilter.java @@ -7,7 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation - * Wim Jongman - + * Wim Jongman - Maintenance (391086) *******************************************************************************/ package org.eclipse.e4.tools.emf.ui.internal; @@ -18,6 +18,14 @@ import org.eclipse.jface.viewers.Viewer; public class PatternFilter extends org.eclipse.e4.ui.workbench.swt.internal.copy.PatternFilter { /** + * This constructor will call {@link #setIncludeLeadingWildcard(boolean)} + * with boolean=true. + */ + public PatternFilter() { + setIncludeLeadingWildcard(true); + } + + /** * Check if the current (leaf) element is a match with the filter text. The * default behavior checks that the label of the element is a match. * |