ConstraintExtensionRegistry
and ValidationInitializerUtil
instead.public final class ValidationManager
extends java.lang.Object
It provides capabilities for:
Modifier and Type | Method and Description |
---|---|
static java.util.Set<IConstraintSpecification> |
getConstraintSpecificationsForEditorId(java.lang.String editorId)
Deprecated.
|
static com.google.common.collect.Multimap<java.lang.String,IConstraintSpecification> |
getEditorConstraintSpecificationMap()
Deprecated.
|
static IValidationEngine |
initializeValidationEngine(org.eclipse.emf.common.notify.Notifier notifier,
java.lang.String editorId)
Deprecated.
Use
ValidationInitializerUtil#initializeValidationWithRegisteredConstraintsOnNotifier instead. |
static boolean |
isConstraintSpecificationsRegisteredForEditorId(java.lang.String editorId)
Deprecated.
|
public static com.google.common.collect.Multimap<java.lang.String,IConstraintSpecification> getEditorConstraintSpecificationMap()
ConstraintExtensionRegistry.getEditorConstraintSpecificationMap()
insteadpublic static boolean isConstraintSpecificationsRegisteredForEditorId(java.lang.String editorId)
ConstraintExtensionRegistry.isConstraintSpecificationsRegisteredForEditorId(String)
insteadeditorId
- The editor Id which should be checkedtrue
if there are registered constraint specificationspublic static java.util.Set<IConstraintSpecification> getConstraintSpecificationsForEditorId(java.lang.String editorId)
ConstraintExtensionRegistry.getConstraintSpecificationsForEditorId(String)
insteadeditorId
- The editor Id for which the constraint specifications should be retrieved.public static IValidationEngine initializeValidationEngine(org.eclipse.emf.common.notify.Notifier notifier, java.lang.String editorId) throws IncQueryException
ValidationInitializerUtil#initializeValidationWithRegisteredConstraintsOnNotifier
instead.notifier
- The Notifier object on which the validation engine should be initialized.editorId
- An editor Id for which we wish to use the registered constraint specifications at the
org.eclipse.incquery.livevalidation.runtime.constraintspecification extension point.IncQueryException
- if there is an error creating the engine on the notifier