Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Generate an XML file from the diagram editor
Generate an XML file from the diagram editor [message #179412] Thu, 27 March 2008 16:05 Go to next message
Eclipse UserFriend
Originally posted by: georges.bachelier.atmel.com

Hi everyone!

I have completed the part 1 of the GMF tutorial (mindmap). I have built
the Ecore model from the provided XSD file and everything worked as
expected. I can place a couple of topics on the diagram and connect them.
From many messages I have read so far, I feel that generating an XML file
from my diagram should be straightforward.

How do you generate this XML file? Is there a menu somewhere I have
missed? Should I implement any Java methods? The only files I can generate
are default.mindmap and default.mindmap_diagram.

Best regards,
Georges
Re: Generate an XML file from the diagram editor [message #179422 is a reply to message #179412] Thu, 27 March 2008 16:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fatma.krichen.gmail.com

Hello Georges,

the fichier xmi are generated with your digram. Create a new diagram, and
add two tpics with connection. after saving, an other file are created in
your workspace, open the file with text editor. you have our file XMI.

Fatma
Re: Generate an XML file from the diagram editor [message #179430 is a reply to message #179412] Thu, 27 March 2008 16:15 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Georges,

> missed? Should I implement any Java methods? The only files I can
> generate are default.mindmap and default.mindmap_diagram.
default.mindmap_diagram should be an XML file you are looking for. Just open
it in some text editor and you'll see it is an XML.


-----------------
Alex Shatalin
Previous Topic:xxx_diagram (editor) window is not closed when i delete from pacakage explorer
Next Topic:GMF with Ecore Constraints
Goto Forum:
  


Current Time: Tue Apr 23 08:26:59 GMT 2024

Powered by FUDForum. Page generated in 0.04165 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top