part of model als content of xtext editor [message #731058] |
Thu, 29 September 2011 19:30 |
|
Hi to all,
I have a ecore-model and want to load a part of this (a subtree) as xtext-dsl.
Is it possible to assign not a resource but a special ecore-element and all it's childnotes to a editor-instance?
Thank you in advance
Best regards
Markus
|
|
|
|
Re: part of model als content of xtext editor [message #731066 is a reply to message #731061] |
Thu, 29 September 2011 20:17 |
|
Hi Michael,
ok, thanks for your hint.
Yes, I guess I'll implement it this way.
I only have to implement a kind of navigator to have all the resources in scope (and only this files), with special features.
What's the best way to implement this view, which tree includes any of these resources?
Regards
Markus
|
|
|
Re: part of model als content of xtext editor [message #731077 is a reply to message #731066] |
Thu, 29 September 2011 21:19 |
|
Excuse me,
me again....
I don't know if this is the preferred solution either,
because further thinking I guess, I want my complete model to be saved as one ecore-model to have the possibility to use CDO in the future. And the xtext-editor should be only one of three editor types choosable. One editor is a preview-like editor, which should use parts of the ecore-model as well
Any hints?
Thanks for your help
Markus
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03753 seconds