public class XtextTemplateContextTypeRegistry
extends org.eclipse.jface.text.templates.ContextTypeRegistry
Constructor and Description |
---|
XtextTemplateContextTypeRegistry(IGrammarAccess grammarAccess,
com.google.inject.Provider<XtextTemplateContextType> ctxTypeProvider,
ContextTypeIdHelper helper) |
Modifier and Type | Method and Description |
---|---|
ContextTypeIdHelper |
getHelper() |
java.lang.String |
getId(Keyword k) |
java.lang.String |
getId(ParserRule parserRule) |
protected void |
registerContextTypes(IGrammarAccess grammarAccess,
com.google.inject.Provider<XtextTemplateContextType> ctxTypeProvider) |
@Inject public XtextTemplateContextTypeRegistry(IGrammarAccess grammarAccess, com.google.inject.Provider<XtextTemplateContextType> ctxTypeProvider, ContextTypeIdHelper helper)
protected void registerContextTypes(IGrammarAccess grammarAccess, com.google.inject.Provider<XtextTemplateContextType> ctxTypeProvider)
public java.lang.String getId(Keyword k)
public java.lang.String getId(ParserRule parserRule)
public ContextTypeIdHelper getHelper()