org.eclipse.xtext.ui.editor.templates
Class XtextTemplateContextTypeRegistry
java.lang.Object
org.eclipse.jface.text.templates.ContextTypeRegistry
org.eclipse.xtext.ui.editor.templates.XtextTemplateContextTypeRegistry
public class XtextTemplateContextTypeRegistry
- extends org.eclipse.jface.text.templates.ContextTypeRegistry
- Author:
- Sven Efftinge - Initial contribution and API, Michael Clay
Methods inherited from class org.eclipse.jface.text.templates.ContextTypeRegistry |
addContextType, contextTypes, getContextType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XtextTemplateContextTypeRegistry
@Inject
public XtextTemplateContextTypeRegistry(IGrammarAccess grammarAccess,
com.google.inject.Provider<XtextTemplateContextType> ctxTypeProvider,
ContextTypeIdHelper helper)
registerContextTypes
protected void registerContextTypes(IGrammarAccess grammarAccess,
com.google.inject.Provider<XtextTemplateContextType> ctxTypeProvider)
getId
public java.lang.String getId(Keyword k)
getId
public java.lang.String getId(ParserRule parserRule)
getHelper
public ContextTypeIdHelper getHelper()