use of org.eclipse.xtext.ui.editor.outline.quickoutline.PrefixMatcherOutlineAdapter in project xtext-eclipse by eclipse.
the class PrefixMatcherOutlineAdapterTest method createStringMatcher.
@Override
protected StringMatcher createStringMatcher(String pattern) {
FQNPrefixMatcher fqnPrefixMatcher = new FQNPrefixMatcher();
fqnPrefixMatcher.setLastSegmentFinder(new FQNPrefixMatcher.DefaultLastSegmentFinder());
fqnPrefixMatcher.setDelegate(new PrefixMatcher.CamelCase());
return new PrefixMatcherOutlineAdapter(pattern, fqnPrefixMatcher);
}
Aggregations