Class EditVariable
- java.lang.Object
-
- com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.AbstractVariable
-
- com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.EditVariable
-
- All Implemented Interfaces:
IEditVariable
,IVariable
public class EditVariable extends AbstractVariable implements IEditVariable
Creates edit variable that can be edited via LinkedMode
-
-
Constructor Summary
Constructors Constructor Description EditVariable(String name, org.eclipse.jface.text.IRegion region)
Creates new instance of this
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getID()
Returns the name o this variable to identify it among edit variables.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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.IVariable
apply, getDialogProvider, getProposalProvider, getRegion
-
-
-
-
Constructor Detail
-
EditVariable
public EditVariable(String name, org.eclipse.jface.text.IRegion region)
Creates new instance of this- Parameters:
name
- The name of the variable, cannot benull
region
- The region of the occurrence this variable, cannot benull
-
-
Method Detail
-
getID
public String getID()
Description copied from interface:IEditVariable
Returns the name o this variable to identify it among edit variables. All edit variables with same name are grouped up. Note that this name is not the same name, that IVariableOccurrence provides- Specified by:
getID
in interfaceIEditVariable
- Returns:
- The name of the variable ,cannot be
null
-
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
-
-