Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom XML output
Custom XML output [message #1070678] Thu, 18 July 2013 08:49 Go to next message
Pierre Cressant is currently offline Pierre Cressant
Messages: 6
Registered: July 2013
Junior Member
Hello Everyone,

I'm trying to customize my XML output for my gmf diagram. Is there an inner way in gmf to modify the saved file ? I suppose so but I can't find a way to do it.

Is there someone who knows how to do it ?

Thank you and sorry for my poor english !

Pierre
Re: Custom XML output [message #1071075 is a reply to message #1070678] Fri, 19 July 2013 05:43 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 695
Registered: November 2009
Senior Member
Hi,

EMF is responsible for storing the files. Both the notation model and the semantic model instances are emf models. You should take a look on how to manipulate the output of EMF models. As far as I know you can write a custom resource for doing the loading/saving. You should, however, ask the experts at the EMF forums about this,

Ralph
Re: Custom XML output [message #1071103 is a reply to message #1071075] Fri, 19 July 2013 06:52 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25747
Registered: July 2009
Senior Member
Yes, and you should be much more explicit of what you mean by
"customize" with concrete examples of what you're getting now and what
you're hoping to get instead.

On 19/07/2013 11:43 AM, Ralph Gerbig wrote:
> Hi,
>
> EMF is responsible for storing the files. Both the notation model and
> the semantic model instances are emf models. You should take a look on
> how to manipulate the output of EMF models. As far as I know you can
> write a custom resource for doing the loading/saving. You should,
> however, ask the experts at the EMF forums about this,
>
> Ralph
Previous Topic:Programmatically Select Elements in GMF Diagram
Next Topic:initial palette width
Goto Forum:
  


Current Time: Sun Apr 20 23:04:10 EDT 2014

Powered by FUDForum. Page generated in 0.02497 seconds