Class AssignmentQuantityAllocator
- java.lang.Object
-
- org.eclipse.xtext.validation.impl.AssignmentQuantityAllocator
-
- All Implemented Interfaces:
IAssignmentQuantityAllocator
public class AssignmentQuantityAllocator extends java.lang.Object implements IAssignmentQuantityAllocator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classAssignmentQuantityAllocator.Quantities-
Nested classes/interfaces inherited from interface org.eclipse.xtext.validation.IAssignmentQuantityAllocator
IAssignmentQuantityAllocator.IQuantities
-
-
Field Summary
Fields Modifier and Type Field Description protected IConcreteSyntaxDiagnosticProviderdiagnosticProviderprotected IAssignmentQuantityIntervalProviderintervalProviderprotected ITransientValueServicetransSrvcprotected ITokenSerializer.IValueSerializervalueSerializer
-
Constructor Summary
Constructors Constructor Description AssignmentQuantityAllocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanallowTransient(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature feature, java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> constraint)protected voidcollectAssignments(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, org.eclipse.emf.ecore.EObject obj, IConcreteSyntaxConstraintProvider.ISyntaxConstraint ele, com.google.common.collect.Multimap<org.eclipse.emf.ecore.EStructuralFeature,IConcreteSyntaxConstraintProvider.ISyntaxConstraint> assignments, java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)protected AssignmentQuantityAllocator.QuantitiescreateQuantities(org.eclipse.emf.ecore.EObject obj)IAssignmentQuantityAllocator.IQuantitiesgetAssignmentQuantities(org.eclipse.emf.ecore.EObject obj, IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)intgetFeatureQuantity(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature feat)
-
-
-
Field Detail
-
diagnosticProvider
@Inject protected IConcreteSyntaxDiagnosticProvider diagnosticProvider
-
intervalProvider
@Inject protected IAssignmentQuantityIntervalProvider intervalProvider
-
transSrvc
@Inject protected ITransientValueService transSrvc
-
valueSerializer
@Inject protected ITokenSerializer.IValueSerializer valueSerializer
-
-
Method Detail
-
allowTransient
protected boolean allowTransient(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature feature, java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> constraint)
-
collectAssignments
protected void collectAssignments(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, org.eclipse.emf.ecore.EObject obj, IConcreteSyntaxConstraintProvider.ISyntaxConstraint ele, com.google.common.collect.Multimap<org.eclipse.emf.ecore.EStructuralFeature,IConcreteSyntaxConstraintProvider.ISyntaxConstraint> assignments, java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)
-
createQuantities
protected AssignmentQuantityAllocator.Quantities createQuantities(org.eclipse.emf.ecore.EObject obj)
-
getAssignmentQuantities
public IAssignmentQuantityAllocator.IQuantities getAssignmentQuantities(org.eclipse.emf.ecore.EObject obj, IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)
- Specified by:
getAssignmentQuantitiesin interfaceIAssignmentQuantityAllocator
-
getFeatureQuantity
public int getFeatureQuantity(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature feat)- Specified by:
getFeatureQuantityin interfaceIAssignmentQuantityAllocator
-
-