Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Bind layout constraints to model
Bind layout constraints to model [message #696516] Thu, 14 July 2011 07:17 Go to next message
Andreas Scharf is currently offline Andreas ScharfFriend
Messages: 20
Registered: September 2010
Junior Member

is it possible to bind the x/y attribute in my model to the layout constraints for the diagram? In my use case I automatically generate my model file out of another file. My model file then already contains x/y coordinates which I want to use as layout information within my diagram.

Any suggestions?

Kind regards,
Re: Bind layout constraints to model [message #701172 is a reply to message #696516] Sun, 24 July 2011 18:59 Go to previous message
Aurelien Pupier is currently offline Aurelien PupierFriend
Messages: 632
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member


we have done this kind of things in form editor of Bonita Open Solution Studio.
The synchronisation is done in refreshBounds method of each editparts.
You can see it from aspect templates we are using:

Previous Topic:One Shared Editing Domain for each data model
Next Topic:How to identify any Particular Component from GMF Editor
Goto Forum:

Current Time: Fri Apr 28 10:31:34 GMT 2017

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

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