public abstract class AbstractPivotConstraintLocator extends AbstractConstraintLocator
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractPivotConstraintLocator.AbstractConstraintLocator |
ConstraintLocator.Descriptor
Constructor and Description |
---|
AbstractPivotConstraintLocator() |
Modifier and Type | Method and Description |
---|---|
protected EvaluationVisitor |
createEvaluationVisitor(EnvironmentFactoryInternal environmentFactory,
ExpressionInOCL query,
java.lang.Object contextObject,
org.eclipse.emf.common.util.Monitor monitor) |
protected ExpressionInOCL |
getQuery(PivotMetamodelManager metamodelManager,
Constraint constraint) |
org.eclipse.emf.ecore.resource.Resource |
getSourceResource(LeafConstrainingNode node)
Return the Resource from which the Constraint was obtained.
|
static void |
initialize()
Perform the standalone initialization of the ValidityManager constraint locator registry with all EMF, UML, OCL ConstraintLocators.
|
createLeafConstrainingNode, getAllTypes, getConstrainingType, getConstrainingURI, getConstraintLocator, getImage, getImports, getLabel, getSeverity, getSourceExpression, getTypeURI, getTypeURIs, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConstraints, getInstance, getName
public static void initialize()
@NonNull protected EvaluationVisitor createEvaluationVisitor(@NonNull EnvironmentFactoryInternal environmentFactory, @NonNull ExpressionInOCL query, @Nullable java.lang.Object contextObject, @Nullable org.eclipse.emf.common.util.Monitor monitor)
@NonNull protected ExpressionInOCL getQuery(@NonNull PivotMetamodelManager metamodelManager, @NonNull Constraint constraint) throws ParserException
ParserException
@Nullable public org.eclipse.emf.ecore.resource.Resource getSourceResource(@NonNull LeafConstrainingNode node)
ConstraintLocator
getSourceResource
in interface ConstraintLocator
getSourceResource
in class AbstractConstraintLocator