|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An IValidator
that supports live-mode validation of
Notification
s.
Not intended to be implemented by clients.
ModelValidationService.newValidator(EvaluationMode)
,
EvaluationMode.LIVE
Method Summary | |
---|---|
org.eclipse.core.runtime.IStatus |
validate(org.eclipse.emf.common.notify.Notification notification)
Validates the specified EMF event . |
org.eclipse.core.runtime.IStatus |
validate(java.lang.Object object)
Validates an object. The type of object that is expected various by implementation. |
Methods inherited from interface org.eclipse.emf.validation.service.IValidator |
---|
getClientData, getEvaluationMode, isReportSuccesses, putClientData, setReportSuccesses, validate |
Method Detail |
public org.eclipse.core.runtime.IStatus validate(org.eclipse.emf.common.notify.Notification notification)
EMF event
. This method is a
synonym for the inherited IValidator.validate(Object)
.
notification
- the EMF event to validate
IValidator.validate(Object)
public org.eclipse.core.runtime.IStatus validate(java.lang.Object object)
validate
in interface IValidator
object
- must be a Notification
severity
of the result indicates whether
validation passed or (how badly it) failed. Normally, the result is
a multi-status
whose children are
the results of individual constraint evaluations
java.lang.ClassCastException
- if object
is not a
Notification
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |