Class EnumerationValueVariable
java.lang.Object
com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.AbstractVariable
com.e1c.g5.v8.dt.bsl.ui.templates.variables.EnumerationValueVariable
- All Implemented Interfaces:
- IVariable
Template variable for choosing values of 
Enum- 
Constructor SummaryConstructorsConstructorDescriptionEnumerationValueVariable(org.eclipse.jface.text.IRegion region, org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider, org.eclipse.emf.ecore.resource.Resource contextResource) Creates new instance of this with given region
- 
Method SummaryModifier and TypeMethodDescriptionGets special provider for open dialog for editing value after apllying variableprotected StringReturns text of the variable for the given regionMethods inherited from class com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.variable.AbstractVariableapply, getProposalProvider, getRegion
- 
Constructor Details- 
EnumerationValueVariablepublic EnumerationValueVariable(org.eclipse.jface.text.IRegion region, org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider, org.eclipse.emf.ecore.resource.Resource contextResource) Creates new instance of this with given region- Parameters:
- region- The region of the variable in the template, cannot be- null
- globalScopeProvider- actual- IGlobalScopeProviderfor getting- Enumvalues, cannot be- null
- contextResource-- Resourceas context for using in- IGlobalScopeProvider.getScope(Resource, org.eclipse.emf.ecore.EReference, com.google.common.base.Predicate), cannot be- null
 
 
- 
- 
Method Details- 
getDialogProviderDescription copied from interface:IVariableGets special provider for open dialog for editing value after apllying variable- Specified by:
- getDialogProviderin interface- IVariable
- Overrides:
- getDialogProviderin class- AbstractVariable
- Returns:
- special provider for open dialog for editing value after apllying variable, can be null
 
- 
getVariableTextDescription copied from class:AbstractVariableReturns text of the variable for the given region- Specified by:
- getVariableTextin class- AbstractVariable
- Returns:
- The text of the variable for the given region, can be null
 
 
-