How to prevent the appearance of error dialog when emf constraint is violated

StackOverflow https://stackoverflow.com/questions/17923036

  •  04-06-2022
  •  | 
  •  

Pergunta

I have declared an EMF AbstractModelConstraint that checks some criteria. My problem is when the validation fails, the runtime workbench shows an error dialog. How can I prevent its appearance?

enter image description here

Foi útil?

Solução

I found that the user can change this in Preference>Model Validation page. The validation message can be sent to the console view instead of popping up as a dialog.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top