Uses of Class
org.eclipse.jface.text.templates.TemplateContextType
Package
Description
Application programming interfaces for interaction
with the Eclipse text template support.
Application programming interfaces for interaction
with the Eclipse text editor template support.
-
Uses of TemplateContextType in org.eclipse.jface.text.templates
Modifier and TypeMethodDescriptionContextTypeRegistry.getContextType
(String id) Deprecated.protected abstract TemplateContextType
TemplateCompletionProcessor.getContextType
(ITextViewer viewer, IRegion region) Returns the context type that can handle template insertion at the given region in the viewer's document.TemplateContext.getContextType()
Returns the context type of this context.Modifier and TypeMethodDescriptionvoid
ContextTypeRegistry.addContextType
(TemplateContextType contextType) Deprecated.ModifierConstructorDescriptionDocumentTemplateContext
(TemplateContextType type, IDocument document, int offset, int length) Creates a document template context.DocumentTemplateContext
(TemplateContextType type, IDocument document, Position position) Creates a document template context.protected
TemplateContext
(TemplateContextType contextType) Creates a template context of a particular context type. -
Uses of TemplateContextType in org.eclipse.text.templates
Modifier and TypeMethodDescriptionContextTypeRegistry.getContextType
(String id) Returns the context type if the id is valid,null
otherwise.Modifier and TypeMethodDescriptionContextTypeRegistry.contextTypes()
Returns an iterator over all registered context types.Modifier and TypeMethodDescriptionvoid
ContextTypeRegistry.addContextType
(TemplateContextType contextType) Adds a context type to the registry. -
Uses of TemplateContextType in org.eclipse.ui.editors.text.templates
Modifier and TypeMethodDescriptionstatic TemplateContextType
ContributionContextTypeRegistry.createContextType
(String id) Tries to create a context type given an id.