|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.diagnostician.ECPDiagnostician
public final class ECPDiagnostician
The ECPDiagnostician
will invoke the registered ECPValidators
.
Field Summary | |
---|---|
static ECPDiagnostician |
INSTANCE
The instance of the ECPDiagnostician . |
Method Summary | |
---|---|
boolean |
canValidate(org.eclipse.emf.ecore.EObject eObject)
Whether the diagnostician can validate the given object. |
org.eclipse.emf.common.util.Diagnostic |
validate(org.eclipse.emf.ecore.EObject eObject)
Validates the given EObject . |
org.eclipse.emf.common.util.Diagnostic |
validate(org.eclipse.emf.ecore.EObject eObject,
Map<?,?> contextEntries)
Validates the given EObject . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ECPDiagnostician INSTANCE
ECPDiagnostician
.
Method Detail |
---|
public org.eclipse.emf.common.util.Diagnostic validate(org.eclipse.emf.ecore.EObject eObject)
EObject
.
eObject
- the object to validate.
public org.eclipse.emf.common.util.Diagnostic validate(org.eclipse.emf.ecore.EObject eObject, Map<?,?> contextEntries)
EObject
.
eObject
- the object to validate.contextEntries
- context entries that may be needed for the validation
public boolean canValidate(org.eclipse.emf.ecore.EObject eObject)
eObject
- the object to check
true
if a validator is registered for the object, false
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |