Uses of Class
org.eclipse.jface.text.templates.TemplateVariable
Package
Description
Application programming interfaces for interaction
with the Eclipse text template support.
-
Uses of TemplateVariable in org.eclipse.jface.text.templates
Modifier and TypeMethodDescriptionprotected TemplateVariable
TemplateTranslator.createVariable
(String type, String name, int[] offsets) Deprecated.protected TemplateVariable
TemplateTranslator.createVariable
(TemplateVariableType type, String name, int[] offsets) Hook method to create new variables.final TemplateVariable[]
TemplateBuffer.getVariables()
Returns the variable positions of the template buffer.Modifier and TypeMethodDescriptionvoid
GlobalTemplateVariables.Date.resolve
(TemplateVariable variable, TemplateContext context) void
GlobalTemplateVariables.Selection.resolve
(TemplateVariable variable, TemplateContext context) void
TemplateContextType.resolve
(TemplateVariable variable, TemplateContext context) Resolves a single variable in a context.void
TemplateVariableResolver.resolve
(TemplateVariable variable, TemplateContext context) Resolvesvariable
incontext
.final void
TemplateBuffer.setContent
(String string, TemplateVariable[] variables) Sets the content of the template buffer.protected void
TemplateContextType.validateVariables
(TemplateVariable[] variables) Validates the variables in this context type.ModifierConstructorDescriptionTemplateBuffer
(String string, TemplateVariable[] variables) Creates a template buffer.
TemplateTranslator.createVariable(TemplateVariableType, String, int[])
instead