Package org.eclipse.jface.text.templates
Class GlobalTemplateVariables
- java.lang.Object
-
- org.eclipse.jface.text.templates.GlobalTemplateVariables
-
public class GlobalTemplateVariables extends Object
Global variables which are available in any context.Clients may instantiate the classes contained within this class.
- Since:
- 3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.Selection
The selection variable determines templates that work on a selection.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 selected words, but not on selected lines.static class
GlobalTemplateVariables.Year
The year variable evaluates to the current year.
-
Constructor Summary
Constructors Constructor Description GlobalTemplateVariables()
-
-
-
Field Detail
-
SELECTION
public static final String SELECTION
The type of the selection variables.- See Also:
- Constant Field Values
-
-