|Generating edit code for referenced models [message #1831456]
||Thu, 20 August 2020 08:37
| Wernke zur Borg
Registered: December 2011
We have a project A that exports a few Ecore models and the generated model code but does not generate any edit or editor code. Note that the term "project" does not mean Eclipse projects in the same workspace but higher level projects with separate workspaces, which may even be run by different companies.|
There is a project Project B (let's say in a different company) with an own Ecore model, importing/referencing the models from project A. Now we have to generate the edit/editor code for the own model plus the referenced Ecore models. However, the related menu items for the code generation are disabled, so we are stuck at this point.
We would have to copy the ecore files out of the referenced plug-in into our workspace, which we don't like for maintainability reasons.
Of course, the edit code could be generated by project A, but there is a clear separation of concerns between the projects. I think it is a legal use case having multiple different edit/editor implementations for the same external model, implemented by different projects.
How would you address this issue? Are there any technical limitations preventing the edit code generation for referenced models?
Thanks for any hints
[Updated on: Thu, 20 August 2020 08:44]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02017 seconds