Uses of Class
org.eclipse.jface.text.templates.TemplateVariableResolver
Package
Description
Application programming interfaces for interaction
with the Eclipse text template support.
-
Uses of TemplateVariableResolver in org.eclipse.jface.text.templates
Modifier 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.Modifier and TypeMethodDescriptionprotected TemplateVariableResolver
TemplateContextType.getResolver
(String type) Returns the resolver for the given type.Modifier and TypeMethodDescriptionTemplateContextType.resolvers()
Returns an iterator for the variables known to the context type.Modifier 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.