EVL Sirius integration [message #1754433] |
Fri, 17 February 2017 12:56  |
Eclipse User |
|
|
|
Hello,
I am writing a simple code generation tool based on the EMF ecosystem.
I have chosen Sirius to develop the diagram editor but would like to use Epsilon for M2M and model validation activities.
I have written sample validation rules and successfully tested them in EMF tree-based editor (validation, quickfixes, ...). In the Sirius-based editor, the rules are correctly invoked but the following features don't work :
- the offending items are not flagged in the diagram view
- the quick fix suggestions are not taken into account
In this tutorial, one must modify a .gmfgen model which I cannot find in my Sirius based example.
I do have declared an org.eclipse.ui.ide.markerResolution extension with the org.eclipse.sirius.diagram.ui.diagnostic markerType but I think I am missing something.
Any advice ?
I am using Epsilon 1.3.
Best regards,
Michaël
[Updated on: Fri, 17 February 2017 13:00] by Moderator
|
|
|
|
|
Re: EVL Sirius integration [message #1754638 is a reply to message #1754435] |
Tue, 21 February 2017 03:56   |
Eclipse User |
|
|
|
Hello Dimitris,
Please find attached in this post a minimal example. The eclipse folder contains the tool plugins and the runtime folder a sample model.
I am using :
- Eclipse Mars.2 Release (4.5.2)
- Sirius 3.1.3
- Epsilon 1.4.0.2
I used nested Eclipse to set up my tests : first workspace is the content of the eclipse folder, and the runtime folder holds the content of the nested workspace. To reproduce the problem, compare model validation from the tree-based editor and Sirius editor.
In the tree-based editor, everything works fine (validation, Problem display, quick fixes).
In the Sirius diagram, the model validation is successfully triggered , but errors are not flagged in the diagram. Quick fix suggestions are also ignored.
Thanks for your help,
Michaël
[Updated on: Tue, 21 February 2017 03:57] by Moderator
|
|
|
|
|
|
Re: EVL Sirius integration [message #1755577 is a reply to message #1754701] |
Sun, 05 March 2017 17:53  |
Eclipse User |
|
|
|
Hi Michael,
This took me a week longer than expected but quick fixes should now work in the latest interim version. Could you please give it a try and let me know how it goes?
Cheers,
Dimitris
|
|
|
Powered by
FUDForum. Page generated in 0.04819 seconds