Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Model to XML
GMF Model to XML [message #661699] Sat, 26 March 2011 11:39 Go to next message
Lior Missing name is currently offline Lior Missing nameFriend
Messages: 18
Registered: February 2011
Junior Member
Hi , I'm new to GMF, so bare with me here Smile
I've designed a GMF scheme to create a nice diagram editor.
Now, i'm interested in enabling a user to export the diagram she created to a predefined XML format we use in our company. (i'm not interested in GMF internal xml format..)

Is there any already existing platform / api that does it? or should I write it from scratch by iterating the diagram elements? Smile

Thanks and good day
Re: GMF Model to XML [message #661725 is a reply to message #661699] Sat, 26 March 2011 18:04 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
Lior,

You probably need to do your own thing. Does this external format have
a schema? In that case you might generate the model for it and
transform the notation model instance to an instance of your schema...


Lior wrote:
> Hi , I'm new to GMF, so bare with me here :)
> I've designed a GMF scheme to create a nice diagram editor.
> Now, i'm interested in enabling a user to export the diagram she
> created to a predefined XML format we use in our company. (i'm not
> interested in GMF internal xml format..)
>
> Is there any already existing platform / api that does it? or should I
> write it from scratch by iterating the diagram elements? :)
>
> Thanks and good day
Previous Topic: shared editor domain across several diagram editors
Next Topic:Question according to http://wiki.eclipse.org/GMF_Constraints
Goto Forum:
  


Current Time: Fri Nov 28 11:34:18 GMT 2014

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

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