Package | Description |
---|---|
org.eclipse.jface.text.templates |
Application programming interfaces for interaction
with the Eclipse text template support.
|
Modifier and Type | Class and Description |
---|---|
static class |
GlobalTemplateVariables.Cursor
The cursor variable determines the cursor placement after template edition.
|
static class |
GlobalTemplateVariables.Date
The date variable evaluates to the current date.
|
static class |
GlobalTemplateVariables.Dollar
The dollar variable inserts an escaped dollar symbol.
|
static class |
GlobalTemplateVariables.LineSelection
The line selection variable determines templates that work on selected
lines.
|
static class |
GlobalTemplateVariables.Time
The time variable evaluates to the current time.
|
static class |
GlobalTemplateVariables.User
The user variable evaluates to the current user.
|
static class |
GlobalTemplateVariables.WordSelection
The word selection variable determines templates that work on a full
lines selection.
|
static class |
GlobalTemplateVariables.Year
The year variable evaluates to the current year.
|
class |
SimpleTemplateVariableResolver
A simple template variable resolver, which always evaluates to a defined string.
|
Modifier and Type | Method and Description |
---|---|
protected TemplateVariableResolver |
TemplateContextType.getResolver(String type)
Returns the resolver for the given type.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.