public interface ObjectFilter extends ValidationFilter
EObject
s
or to ignore Diagnostics reported by EValidators and Validators.
See ValidationService#registerValidationFilter(ValidationFilter).Modifier and Type | Method and Description |
---|---|
boolean |
skipValidation(org.eclipse.emf.ecore.EObject eObject)
Return true if the given
EObject should NOT be validated. |
boolean skipValidation(org.eclipse.emf.ecore.EObject eObject)
EObject
should NOT be validated.eObject
- the EObject
about to be validatedEObject
should be skipped during validation.
Note: if you use ValidationService#validate(java.util.Iterator) in conjunction with a
TreeIterator all eContents of the given EObject
will be skipped as well.Copyright © 2019. All rights reserved.