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

public class EnumerationValueVariable extends AbstractVariable
Template variable for choosing values of Enum
  • Constructor Details

    • EnumerationValueVariable

      public 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 IGlobalScopeProvider for getting Enum values, cannot be null
      contextResource - Resource as context for using in IGlobalScopeProvider.getScope(Resource, org.eclipse.emf.ecore.EReference, com.google.common.base.Predicate), cannot be null
  • Method Details