Class ValidationInitializerUtil
- java.lang.Object
-
- org.eclipse.viatra.addon.validation.runtime.ValidationInitializerUtil
-
public final class ValidationInitializerUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IValidationEngine
initializeValidationWithRegisteredConstraintsOnScope(QueryScope 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.
-
-
-
Method Detail
-
initializeValidationWithRegisteredConstraintsOnScope
public static IValidationEngine initializeValidationWithRegisteredConstraintsOnScope(QueryScope 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.- Parameters:
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.viatra.addon.livevalidation.runtime.constraintspecification extension point.- Returns:
- The initialized validation engine.
-
-