public class EClassifierConstraintLocator extends AbstractConstraintLocator
ConstraintLocator.Descriptor
Modifier and Type | Field and Description |
---|---|
static EClassifierConstraintLocator |
INSTANCE |
Constructor and Description |
---|
EClassifierConstraintLocator() |
Modifier and Type | Method and Description |
---|---|
Map<EObject,List<LeafConstrainingNode>> |
getConstraints(ValidityModel validityModel,
EPackage ePackage,
Set<Resource> resources,
Monitor monitor)
Return a constrainedType-to-constraint map for all types in the given resources that have an ePackage whose URI complies with
the registration of this ConstraintLocator.
|
ConstraintLocator |
getInstance()
Return the singleton instance of this ConstraintLocator to avoid duplicate registrations.
|
String |
getName()
Return a descriptive name for this kind of constraint.
|
getAllTypes, getConstrainingType, getConstrainingURI, getConstraintLocator, getImage, getImports, getLabel, getSourceExpression, getSourceResource, getTypeURI, getTypeURIs, initialize, toString, validate
public static EClassifierConstraintLocator INSTANCE
public Map<EObject,List<LeafConstrainingNode>> getConstraints(ValidityModel validityModel, EPackage ePackage, Set<Resource> resources, Monitor monitor)
ConstraintLocator
public ConstraintLocator getInstance()
ConstraintLocator
public String getName()
ConstraintLocator
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.