public abstract static class ValidationProvider.ContextSensitive extends Object implements ValidationProvider
ValidationProvider
that implements the
ValidationProvider.validate(ViewModelContext, EObject)
method to the exclusion of Validator.validate(EObject)
.ValidationProvider.ContextSensitive
Constructor and Description |
---|
ContextSensitive()
Initializes me.
|
Modifier and Type | Method and Description |
---|---|
List<org.eclipse.emf.common.util.Diagnostic> |
validate(org.eclipse.emf.ecore.EObject eObject)
Un-implements the inherited method.
|
abstract Iterable<? extends org.eclipse.emf.common.util.Diagnostic> |
validate(ViewModelContext context,
org.eclipse.emf.ecore.EObject object)
Validate an
object in a view model context . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext, unsetContext
public final List<org.eclipse.emf.common.util.Diagnostic> validate(org.eclipse.emf.ecore.EObject eObject)
validate
in interface Validator
eObject
- the EObject
to validateDiagnostics
for the EObject
UnsupportedOperationException
- alwayspublic abstract Iterable<? extends org.eclipse.emf.common.util.Diagnostic> validate(ViewModelContext context, org.eclipse.emf.ecore.EObject object)
ValidationProvider
object
in a view model context
.validate
in interface ValidationProvider
context
- the view model context in which validation is occurringobject
- the object to validateobject
, or null
if noneCopyright © 2019. All rights reserved.