public final class ValidationInitializerUtil
extends java.lang.Object
Constructor and Description |
---|
ValidationInitializerUtil() |
Modifier and Type | Method and Description |
---|---|
static IValidationEngine |
initializeValidationWithRegisteredConstraintsOnScope(IncQueryScope scope,
java.lang.String editorId)
Initializes a new validation engine implementing the IValidationEngine interface on the provided Notifier
instance with the constrains specified for the given editor Id.
|
public static IValidationEngine initializeValidationWithRegisteredConstraintsOnScope(IncQueryScope scope, java.lang.String editorId) throws IncQueryException
scope
- 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 scope