Package | Description |
---|---|
org.eclipse.jface.text.templates |
Application programming interfaces for interaction
with the Eclipse text template support.
|
Modifier and Type | Method and Description |
---|---|
protected TemplateVariable |
TemplateTranslator.createVariable(String type,
String name,
int[] offsets)
Deprecated.
as of 3.3 use
TemplateTranslator.createVariable(TemplateVariableType, String, int[]) instead |
protected TemplateVariable |
TemplateTranslator.createVariable(TemplateVariableType type,
String name,
int[] offsets)
Hook method to create new variables.
|
TemplateVariable[] |
TemplateBuffer.getVariables()
Returns the variable positions of the template buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
TemplateVariableResolver.resolve(TemplateVariable variable,
TemplateContext context)
Resolves
variable in context . |
void |
TemplateContextType.resolve(TemplateVariable variable,
TemplateContext context)
Resolves a single variable in a context.
|
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.
|
Constructor and Description |
---|
TemplateBuffer(String string,
TemplateVariable[] variables)
Creates a template buffer.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.