I have a Sirius representation over a DSL generated by EMF, and when I validate my model some errors generated by the Ecore show up (for example "name must be set"). However, none of these errors have quick fixes. How can I define/customize them?
Ran Wei Messages: 75 Registered: September 2012 Location: York, UK
Hi, I think the validation error you got comes from your metamodel (the property 'name' is set to mandatory in your Ecore model). Given that it is a best guess, could you please provide an example to reproduce such validation error?
To implement quick fixes, you'd have to write some validations using EVL, and example can be found in .
Yes, the validation error comes from the metamodel. Since those validations are already "checked" (because they are mandatory) by the metamodel I was trying to find a way to add quick fixes to them, because if I use EVL I will have to write all those validations again... Right? And then add quick fixes.