|
Re: Validation only FAST and NORMAL [message #1827107 is a reply to message #1827026] |
Thu, 07 May 2020 09:33 |
|
Hi Martin,
I believe CheckMode is an Xtext-specific concept, and we do not provide an equivalent in Sirius.
I am not familiar enough with that part of Xtext to say how this could be supported. Sirius relies on EMF Validation to invoke the validation rules, and gets an IBatchValidator by calling
ModelValidationService.getInstance().newValidator(EvaluationMode.BATCH)
This is hard-coded at the moment, but if Xtext integrates with EMF Validation, maybe we could offer a variant of ValidateAction.runValidation(View) where you could provide one from Xtext with the proper CheckMode?
Regards,
Pierre-Charles
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.02873 seconds