Visiting a Tree of a Model [message #52576] |
Wed, 24 June 2009 03:32  |
Eclipse User |
|
|
|
Hello,
I have a metamodel grammar and I wrote a model in my DSL editor.
Now I need to visit the tree of EMF objects generated by the editor. How
can I do that, or how can I generate an ecore model out of the model
written in the DSL editor?
Thank you.
|
|
|
|
Re: Visiting a Tree of a Model [message #52742 is a reply to message #52657] |
Thu, 25 June 2009 03:44  |
Eclipse User |
|
|
|
Hi Aurel,
generally speaking, there is no need for tree structured files when you
are working with Xtext. What do you want to accomplish?
To get an idea about what I mean with "there is no need", please try to
open your model file (*.mydsl or whatever) with the reflective ecore
model editor. You'll get the tree like visual represenation for your
model although the model is stored in your concrete DSL syntax.
Regards,
Sebastian
Am 24.06.2009 17:57 Uhr, schrieb Aurel Ganga:
> In case I wasn't very clear in the first description:
> Can I create an ecore file out of my model I wrote in my editor, maybe
> through an appropriate template?
>
> Is there another way to generate a tree strucured file from my model?
>
|
|
|
Powered by
FUDForum. Page generated in 0.03382 seconds