Skip to main content


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
Hi,

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,
Andreas
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: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

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: http://www.bonitasoft.org/websvn/filedetails.php?repname=Bonita+Open+Solution&path=%2Fbonita-studio%2Ftags%2Fbonita-studio-5.5%2Fplugins%2Forg.bonitasoft.studio-models%2Fform%2FGMFTemplates%2Faspects%2Fdiagram%2Feditparts%2FNodeEditPart.xpt

regards,


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: Fri Apr 19 23:15:31 GMT 2024

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

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

Back to the top