public class KeywordHelper
extends java.lang.Object
implements org.eclipse.emf.common.notify.Adapter
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<java.lang.String> |
keywordComparator |
Constructor and Description |
---|
KeywordHelper(Grammar grammar,
boolean ignoreCase,
GrammarAccessExtensions grammarUtil) |
Modifier and Type | Method and Description |
---|---|
void |
discardHelper(Grammar grammar) |
java.util.Set<java.lang.String> |
getAllKeywords() |
static KeywordHelper |
getHelper(org.eclipse.emf.ecore.EObject context) |
java.lang.String |
getKeywordValue(java.lang.String ruleName) |
java.lang.String |
getRuleName(java.lang.String keywordValue) |
org.eclipse.emf.common.notify.Notifier |
getTarget() |
boolean |
isAdapterForType(java.lang.Object type) |
boolean |
isKeywordRule(java.lang.String ruleName) |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification) |
void |
setTarget(org.eclipse.emf.common.notify.Notifier newTarget) |
public static final java.util.Comparator<java.lang.String> keywordComparator
public KeywordHelper(Grammar grammar, boolean ignoreCase, GrammarAccessExtensions grammarUtil)
public void discardHelper(Grammar grammar)
public static KeywordHelper getHelper(org.eclipse.emf.ecore.EObject context)
public java.lang.String getRuleName(java.lang.String keywordValue)
public java.lang.String getKeywordValue(java.lang.String ruleName)
public boolean isKeywordRule(java.lang.String ruleName)
public java.util.Set<java.lang.String> getAllKeywords()
public org.eclipse.emf.common.notify.Notifier getTarget()
getTarget
in interface org.eclipse.emf.common.notify.Adapter
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
setTarget
in interface org.eclipse.emf.common.notify.Adapter