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
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 636
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:


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
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: Sun Apr 22 14:14:07 GMT 2018

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

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