public class ConstraintCategoryFilter
extends java.lang.Object
implements org.eclipse.emf.validation.service.IConstraintFilter
Constructor and Description |
---|
ConstraintCategoryFilter()
Default constructor.
|
ConstraintCategoryFilter(java.lang.String categoryIdPattern)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(org.eclipse.emf.validation.service.IConstraintDescriptor constraint,
org.eclipse.emf.ecore.EObject target) |
void |
addCategory(java.lang.String categoryIdPattern) |
public ConstraintCategoryFilter()
public ConstraintCategoryFilter(java.lang.String categoryIdPattern)
categoryIdPattern
- A regular expression representing the category id pattern that the constraints' category ids must
match to make it through this filter.public void addCategory(java.lang.String categoryIdPattern)
public boolean accept(org.eclipse.emf.validation.service.IConstraintDescriptor constraint, org.eclipse.emf.ecore.EObject target)
accept
in interface org.eclipse.emf.validation.service.IConstraintFilter