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 |
---|---|
java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<LeafConstrainingNode>> |
getConstraints(ValidityModel validityModel,
org.eclipse.emf.ecore.EPackage ePackage,
java.util.Set<org.eclipse.emf.ecore.resource.Resource> resources,
org.eclipse.emf.common.util.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.
|
java.lang.String |
getName()
Return a descriptive name for this kind of constraint.
|
createLeafConstrainingNode, getAllTypes, getConstrainingType, getConstrainingURI, getConstraintLocator, getImage, getImports, getLabel, getSeverity, getSourceExpression, getSourceResource, getTypeURI, getTypeURIs, initialize, toString, validate
@NonNull public static EClassifierConstraintLocator INSTANCE
@Nullable public java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<LeafConstrainingNode>> getConstraints(@NonNull ValidityModel validityModel, @NonNull org.eclipse.emf.ecore.EPackage ePackage, @NonNull java.util.Set<org.eclipse.emf.ecore.resource.Resource> resources, @NonNull org.eclipse.emf.common.util.Monitor monitor)
ConstraintLocator
@NonNull public ConstraintLocator getInstance()
ConstraintLocator
@NonNull public java.lang.String getName()
ConstraintLocator