Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[Eugenia] State of an editor generated by eugenia to xml
https://www.eclipse.org/forums/index.php/mv/msg/201530/643770/#msg_643770
i made an editor similar to the one in the tutorial http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial. I was wondering if there's any (easy) way to export a state of a diagram created in the editor to xml
]]>No real name2010-12-08T08:48:45-00:00Re: [Eugenia] State of an editor generated by eugenia to xml
https://www.eclipse.org/forums/index.php/mv/msg/201530/643787/#msg_643787
a transformation that generates XML from the diagram (which itself is an
EMF model) using the plain XML driver: http://eclipse.org/gmt/epsilon/doc/articles/plain-xml/
Cheers,
Dimitris
roosenw@gmail.com wrote:
> Hello,
>
> i made an editor similar to the one in the tutorial
> http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial I
> was wondering if there's any (easy) way to export a state of a diagram
> created in the editor to xml
>
>
>]]>Dimitrios Kolovos2010-12-08T09:45:57-00:00Re: [Eugenia] State of an editor generated by eugenia to xml
https://www.eclipse.org/forums/index.php/mv/msg/201530/643798/#msg_643798
how do you acces the root element of the elements created in your diagram? I dont really find a way to do this.]]>No real name2010-12-08T10:18:08-00:00Re: [Eugenia] State of an editor generated by eugenia to xml
https://www.eclipse.org/forums/index.php/mv/msg/201530/643844/#msg_643844
Could you please elaborate a bit more on what you've done so far and
where you're stuck?
Cheers,
Dimitris
roosenw@gmail.com wrote:
> Well,
>
> how do you acces the root element of the elements created in your
> diagram? I dont really find a way to do this.]]>Dimitrios Kolovos2010-12-08T13:31:25-00:00Re: [Eugenia] State of an editor generated by eugenia to xml
https://www.eclipse.org/forums/index.php/mv/msg/201530/643851/#msg_643851
We have generated the code out of an EMF file following all necessary steps.
Now we have an eclipse application(an editor) which we want to be able to save to xml, we know the code how to do it but we cant find the document root with the elements created (by the user of the app) in the editor so we can iterate through them.
Greetz,
Wim]]>No real name2010-12-08T13:40:33-00:00Re: [Eugenia] State of an editor generated by eugenia to xml
https://www.eclipse.org/forums/index.php/mv/msg/201530/644127/#msg_644127
The following code prints the root object of the active GMF diagram
editor in the workbench:
roosenw@gmail.com wrote:
> Hello Dimitri,
>
> We have generated the code out of an EMF file following all necessary
> steps.
>
> Now we have an eclipse application(an editor) which we want to be able
> to save to xml, we know the code how to do it but we cant find the
> document root with the elements created (by the user of the app) in the
> editor so we can iterate through them.
>
> basically the editor looks like the editor on
> http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/
> with other types of nodes,links,..
>
> Greetz,
> Wim]]>Dimitrios Kolovos2010-12-09T14:54:30-00:00Re: [Eugenia] State of an editor generated by eugenia to xml
https://www.eclipse.org/forums/index.php/mv/msg/201530/644826/#msg_644826
this was exactly what i needed
greetz,
Wim]]>No real name2010-12-14T11:11:33-00:00