Ecore Diagram Editor - how to have split diagram files [message #1015252] |
Wed, 27 February 2013 16:40  |
Eclipse User |
|
|
|
I've got a .ecorediag (and corresponding .ecore file autogenerated by diagram editor) that has quite a few common EClass's that I use in multiple projects. I've been coping the same .ecorediag from one project to the next in the spirit of getting the new project done fast.
What I'd like to do is have a common.ecorediag and common.ecore file that has my base (common) EClass's in it. Then have a project specific model.ecorediag and model.ecore that contains project specific EClass's which includes referencing EClass's in common.ecore[diag]. For example, common.ecore[diag] might contain an Address EClass and a project's model.ecore[diag] might contain an EClass called Astronaut which has an ERef to Address from common.ecore[diag].
I still want to be able to use Diagram Editor to edit both common.ecorediag and a project specific model.ecorediag.
Can I do this? If so, how? I can't seem to find anything in Diagram Editor that would let me reference another diagram.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06515 seconds