Uses of Class
org.eclipse.jface.text.templates.TemplateContextType
Packages that use 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
Methods in org.eclipse.jface.text.templates that return TemplateContextTypeModifier 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.Methods in org.eclipse.jface.text.templates that return types with arguments of type TemplateContextTypeMethods in org.eclipse.jface.text.templates with parameters of type TemplateContextTypeModifier and TypeMethodDescriptionvoid
ContextTypeRegistry.addContextType
(TemplateContextType contextType) Deprecated.Constructors in org.eclipse.jface.text.templates with parameters of type TemplateContextTypeModifierConstructorDescriptionDocumentTemplateContext
(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
Methods in org.eclipse.text.templates that return TemplateContextTypeModifier and TypeMethodDescriptionContextTypeRegistry.getContextType
(String id) Returns the context type if the id is valid,null
otherwise.Methods in org.eclipse.text.templates that return types with arguments of type TemplateContextTypeModifier and TypeMethodDescriptionContextTypeRegistry.contextTypes()
Returns an iterator over all registered context types.Methods in org.eclipse.text.templates with parameters of type TemplateContextTypeModifier and TypeMethodDescriptionvoid
ContextTypeRegistry.addContextType
(TemplateContextType contextType) Adds a context type to the registry. -
Uses of TemplateContextType in org.eclipse.ui.editors.text.templates
Methods in org.eclipse.ui.editors.text.templates that return TemplateContextTypeModifier and TypeMethodDescriptionstatic TemplateContextType
ContributionContextTypeRegistry.createContextType
(String id) Tries to create a context type given an id.