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 class
The cursor variable determines the cursor placement after template edition.static class
The date variable evaluates to the current date.static class
The dollar variable inserts an escaped dollar symbol.static class
The line selection variable determines templates that work on selected lines.static class
The selection variable determines templates that work on a selection.static class
The time variable evaluates to the current time.static class
The user variable evaluates to the current user.static class
The word selection variable determines templates that work on selected words, but not on selected lines.static class
The year variable evaluates to the current year.class
A simple template variable resolver, which always evaluates to a defined string.Methods in org.eclipse.jface.text.templates that return TemplateVariableResolverModifier and TypeMethodDescriptionprotected TemplateVariableResolver
TemplateContextType.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 TypeMethodDescriptionvoid
TemplateContextType.addResolver
(TemplateVariableResolver resolver) Adds a variable resolver to the context type.void
TemplateContextType.removeResolver
(TemplateVariableResolver resolver) Removes a template variable from the context type.