Uses of Class
org.eclipse.jface.text.templates.TemplateVariable
Packages that use TemplateVariable
Package
Description
Application programming interfaces for interaction
with the Eclipse text template support.
-
Uses of TemplateVariable in org.eclipse.jface.text.templates
Methods in org.eclipse.jface.text.templates that return TemplateVariableModifier and TypeMethodDescriptionprotected TemplateVariableTemplateTranslator.createVariable(String type, String name, int[] offsets) Deprecated.protected TemplateVariableTemplateTranslator.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.Methods in org.eclipse.jface.text.templates with parameters of type TemplateVariableModifier and TypeMethodDescriptionvoidGlobalTemplateVariables.Date.resolve(TemplateVariable variable, TemplateContext context) voidGlobalTemplateVariables.Selection.resolve(TemplateVariable variable, TemplateContext context) voidTemplateContextType.resolve(TemplateVariable variable, TemplateContext context) Resolves a single variable in a context.voidTemplateVariableResolver.resolve(TemplateVariable variable, TemplateContext context) Resolvesvariableincontext.final voidTemplateBuffer.setContent(String string, TemplateVariable[] variables) Sets the content of the template buffer.protected voidTemplateContextType.validateVariables(TemplateVariable[] variables) Validates the variables in this context type.Constructors in org.eclipse.jface.text.templates with parameters of type TemplateVariableModifierConstructorDescriptionTemplateBuffer(String string, TemplateVariable[] variables) Creates a template buffer.
TemplateTranslator.createVariable(TemplateVariableType, String, int[])instead