Uses of Class
org.eclipse.jface.text.templates.TemplateVariableResolver
Packages that use TemplateVariableResolver
Package
Description
Application programming interfaces for interaction
with the Eclipse text template support.
-
Uses of TemplateVariableResolver in org.eclipse.jface.text.templates
Subclasses of TemplateVariableResolver in org.eclipse.jface.text.templatesModifier and TypeClassDescriptionstatic classThe cursor variable determines the cursor placement after template edition.static classThe date variable evaluates to the current date.static classThe dollar variable inserts an escaped dollar symbol.static classThe line selection variable determines templates that work on selected lines.static classThe selection variable determines templates that work on a selection.static classThe time variable evaluates to the current time.static classThe user variable evaluates to the current user.static classThe word selection variable determines templates that work on selected words, but not on selected lines.static classThe year variable evaluates to the current year.classA simple template variable resolver, which always evaluates to a defined string.Methods in org.eclipse.jface.text.templates that return TemplateVariableResolverModifier and TypeMethodDescriptionprotected TemplateVariableResolverTemplateContextType.getResolver(String type) Returns the resolver for the given type.Methods in org.eclipse.jface.text.templates that return types with arguments of type TemplateVariableResolverModifier and TypeMethodDescriptionTemplateContextType.resolvers()Returns an iterator for the variables known to the context type.Methods in org.eclipse.jface.text.templates with parameters of type TemplateVariableResolverModifier and TypeMethodDescriptionvoidTemplateContextType.addResolver(TemplateVariableResolver resolver) Adds a variable resolver to the context type.voidTemplateContextType.removeResolver(TemplateVariableResolver resolver) Removes a template variable from the context type.