Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Reconcile gmfmap from changed ecore file
Reconcile gmfmap from changed ecore file [message #222718] Wed, 25 March 2009 10:11 Go to next message
Peter Lang is currently offline Peter LangFriend
Messages: 153
Registered: July 2009
Senior Member
Hello everyone!

Is there any way to apply changes in the ecore-model to the gmfmap without
having to change everything manually?

What I can do:
1. add a new Type in xsd-file
2. apply changes to genmodel and ecore (using "Reload..." on genmodel)
3. apply changes to gmfgraph (using "Reconcile Graphical Definition Model")
4. apply changes to gmftool (using "Reconcile Tooling Definition Model")

What I would like to do then:
5. apply changes to gmfmap, so that I don't have to add the Node Mapping
by hand. Maybe something like a "Reconcile Mapping Model"-wizard?

Is there anything like this?
How are changes in the Ecore Model handled usually?

Thanks, Peter
Re: Reconcile gmfmap from changed ecore file [message #222772 is a reply to message #222718] Wed, 25 March 2009 13:47 Go to previous messageGo to next message
urs zeidler is currently offline urs zeidlerFriend
Messages: 91
Registered: July 2009
Member
Here is an example of a process, capable of roundtip :

http://opensource.urszeidler.de/ATLflow/html1/samples/genera teGMF.html

greetings, urs.
Re: Reconcile gmfmap from changed ecore file [message #222841 is a reply to message #222772] Thu, 26 March 2009 09:19 Go to previous messageGo to next message
Peter Lang is currently offline Peter LangFriend
Messages: 153
Registered: July 2009
Senior Member
Thanks,

I will for sure give this a look.
Is there any other way to accomplish this? Is the mapping usually
maintained by hand?

Peter
Re: Reconcile gmfmap from changed ecore file [message #223288 is a reply to message #222841] Mon, 30 March 2009 15:17 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Peter,

> Is there any other way to accomplish this? Is the mapping usually
> maintained by hand?
Yes. We are usiually modifying all GMF models manually.

-----------------
Alex Shatalin
Re: Reconcile gmfmap from changed ecore file [message #224202 is a reply to message #223288] Fri, 03 April 2009 07:57 Go to previous message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Hello Peter,

one alternative possibility is to use lightweight sketch models instead of
graph, tooling and mapping models.
After ecore changes one simply adapts the sketch model, regenerates the
gmfgen model from it and merges the changes manually. Not that UI-driven,
but less subsequent efforts.
AFAIR you can find the sketch model support in the Experimental SDK.

Regards

Axel


Alex Shatalin wrote:

> Hello Peter,
>
>> Is there any other way to accomplish this? Is the mapping usually
>> maintained by hand?
> Yes. We are usiually modifying all GMF models manually.
>
> -----------------
> Alex Shatalin
Previous Topic:opening a diagram from a resource
Next Topic:How to hide properties?
Goto Forum:
  


Current Time: Fri Apr 26 05:31:26 GMT 2024

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

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

Back to the top