Class IntegrityPrefixMatcher
java.lang.Object
org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher
org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher
de.gebit.integrity.ui.contentassist.IntegrityPrefixMatcher
public class IntegrityPrefixMatcher
extends org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher
This is a standrd
FQNPrefixMatcher with a little change: if the value to match starts with a string delimiter
character, but the prefix doesn't, we'll add the delimiter to the prefix to make it match if the actual contents
inside match.- Author:
- Rene Schneider - initial API and implementation
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher
org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.DefaultLastSegmentFinder, org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher.LastSegmentFinderNested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher
org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher.CamelCase, org.eclipse.xtext.ui.editor.contentassist.PrefixMatcher.IgnoreCase -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCandidateMatchingPrefix(String aName, String aPrefix) Methods inherited from class org.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher
getDelegate, getDelimiter, getLastSegmentFinder, setDelegate, setDelimiter, setLastSegmentFinder
-
Constructor Details
-
IntegrityPrefixMatcher
public IntegrityPrefixMatcher()
-
-
Method Details
-
isCandidateMatchingPrefix
- Overrides:
isCandidateMatchingPrefixin classorg.eclipse.xtext.ui.editor.contentassist.FQNPrefixMatcher
-