Class DateVariable
- java.lang.Object
-
- com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.AbstractVariable
-
- com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.DateVariable
-
- All Implemented Interfaces:
IVariable
public class DateVariable extends AbstractVariable
The variable that represents a date of the applying
-
-
Constructor Summary
Constructors Constructor Description DateVariable(String pattern, org.eclipse.jface.text.IRegion region)
Creates new date variable in given region withgiven date pattern
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getVariableText()
Returns text of the variable for the given region-
Methods inherited from class com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.AbstractVariable
apply, getDialogProvider, getProposalProvider, getRegion
-
-
-
-
Constructor Detail
-
DateVariable
public DateVariable(String pattern, org.eclipse.jface.text.IRegion region)
Creates new date variable in given region withgiven date pattern- Parameters:
pattern
- The date pattern that describes the date presentation style ,cannot benull
region
- The region of this variable in the template, cannot benull
-
-
Method Detail
-
getVariableText
protected String getVariableText()
Description copied from class:AbstractVariable
Returns text of the variable for the given region- Specified by:
getVariableText
in classAbstractVariable
- Returns:
- The text of the variable for the given region, can be
null
-
-