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 classGlobalTemplateVariables.CursorThe cursor variable determines the cursor placement after template edition.static classGlobalTemplateVariables.DateThe date variable evaluates to the current date.static classGlobalTemplateVariables.DollarThe dollar variable inserts an escaped dollar symbol.static classGlobalTemplateVariables.LineSelectionThe line selection variable determines templates that work on selected lines.static classGlobalTemplateVariables.SelectionThe selection variable determines templates that work on a selection.static classGlobalTemplateVariables.TimeThe time variable evaluates to the current time.static classGlobalTemplateVariables.UserThe user variable evaluates to the current user.static classGlobalTemplateVariables.WordSelectionThe word selection variable determines templates that work on selected words, but not on selected lines.static classGlobalTemplateVariables.YearThe 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
-
-