How to get from .ecorediag to .ecore/.genmodel? [message #139218] |
Mon, 27 July 2009 11:00 |
Eclipse User |
|
|
|
Originally posted by: gerrit.huebbers.stud.uni-due.de
So I designed a diagram using Ecore Tools (i.e., a .ecorediag file).
Now I want to use this diagram for more than rather a visual
representation. I want to export/save/transform it into a .ecore or
..genmodel file for further processing.
How can I do this?
Thanks.
|
|
|
|
|
Re: How to get from .ecorediag to .ecore/.genmodel? [message #139255 is a reply to message #139244] |
Mon, 27 July 2009 15:30 |
Eclipse User |
|
|
|
Originally posted by: gerrit.huebbers.stud.uni-due.de
Hi Mario & Jacques,
thank you two for your replies - which solved my problem.
Confusion was caused on my side as I used the function "New Ecore
Diagram" -> "Create from an existing model". I saved the generated
..ecorediag file in a project different from the project hosting the
..ecore file. I didn't expect "that old .ecore file" to change
synchronously with every edit I was doing to the .ecorediag diagram.
Thanks again,
Gerrit
Jacques LESCOT schrieb:
> Hi Gerrit,
>
> If you have designed a diagram using Ecore Tools, you necessarily have
> an *.ecore file that was created at the same time. The *.ecorediag
> contains just diagramming and graphical informations that are linked
> with your semantic model (the *.ecore file).
>
> So, once you found the *.ecore file, you should be able to generate the
> *.genmodel file thanks to EMF stuff (select your *.ecore file, right
> clic > New > Other... > Eclipse Modeling Framework > EMF Generator Model)
>
> Regards,
> Jacques
>
> Gerrit Hübbers a écrit :
>> So I designed a diagram using Ecore Tools (i.e., a .ecorediag file).
>> Now I want to use this diagram for more than rather a visual
>> representation. I want to export/save/transform it into a .ecore or
>> .genmodel file for further processing.
>>
>> How can I do this?
>>
>> Thanks.
|
|
|
|
|
Re: How to get from .ecorediag to .ecore/.genmodel? [message #621186 is a reply to message #139244] |
Mon, 27 July 2009 15:30 |
Eclipse User |
|
|
|
Originally posted by: gerrit.huebbers.stud.uni-due.de
Hi Mario & Jacques,
thank you two for your replies - which solved my problem.
Confusion was caused on my side as I used the function "New Ecore
Diagram" -> "Create from an existing model". I saved the generated
..ecorediag file in a project different from the project hosting the
..ecore file. I didn't expect "that old .ecore file" to change
synchronously with every edit I was doing to the .ecorediag diagram.
Thanks again,
Gerrit
Jacques LESCOT schrieb:
> Hi Gerrit,
>
> If you have designed a diagram using Ecore Tools, you necessarily have
> an *.ecore file that was created at the same time. The *.ecorediag
> contains just diagramming and graphical informations that are linked
> with your semantic model (the *.ecore file).
>
> So, once you found the *.ecore file, you should be able to generate the
> *.genmodel file thanks to EMF stuff (select your *.ecore file, right
> clic > New > Other... > Eclipse Modeling Framework > EMF Generator Model)
>
> Regards,
> Jacques
>
> Gerrit Hübbers a écrit :
>> So I designed a diagram using Ecore Tools (i.e., a .ecorediag file).
>> Now I want to use this diagram for more than rather a visual
>> representation. I want to export/save/transform it into a .ecore or
>> .genmodel file for further processing.
>>
>> How can I do this?
>>
>> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.04897 seconds