Advised method to learn and use sirius [message #1794964] |
Tue, 11 September 2018 13:56  |
Eclipse User |
|
|
|
Hi,
I am creating an editor based on sirius and was wondering about the advised method to do that.
I followed the standard and some of the steps in the advanced tutorials but I am still a bit confused about how to apply the concepts in my situation.
I have several questions :
Should one define the meta model in emf in conjuction with defining the editor in sirius or is it best to first completly define the meta-model then use sirius ? This is important for me because I have a shallow understanding of emf and ecore, and as I understood, sirius has its own helpers regarding meta-model manipulation. So in my situation, it seems that I must learn emf very well first but again, I managed to create an editor although I am not sure I am using the tools as I should.
My meta-model has to be validated even when it is not created with sirius, so is it possible for sirius to use ocl in the meta-model or they must be implemented in sirius ?
Does sirius not support some emf features ?
|
|
|
|
Re: Advised method to learn and use sirius [message #1795031 is a reply to message #1795030] |
Thu, 13 September 2018 03:48  |
Eclipse User |
|
|
|
Hi
Good advice, but you don't necessarily need to abandon Sirius completely. Once you have some experience of Sirius and provided you only use the minimal Sirius capabilities, you can recreate/regenerate rather than refactor your Sirius editor after each significant metamodel refactoring. So long as you have avoided any fancy customization, recreation may take less than an hour. Make sure you fully delete the old editor, restart Eclipse and use a consistently different name for the new editor.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.03630 seconds