Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom layout provider
Custom layout provider [message #211406] Tue, 18 November 2008 10:46
Joerg Selig is currently offline Joerg SeligFriend
Messages: 11
Registered: July 2009
Junior Member
Hello,


i'm writing a custom layout provider who extends
'AbstractLayoutNodeProvider'. I have some questions in this context.

I. Is it possible to determine the width of the canvas while execute the
method 'layoutLayoutNodes'. I'm trying to set nodes (from type B) to the
right border of the canvas.

______________________________________
| ___ ___ |
| | | | | |
| | A | | B | |
| |___| |___| |
| ___ ___ |
| | | | | |
| | A | | B | |
| |___| |___| |
| |
|______________________________________|


II. Is it possible to trigger the layout provider if the model is
changed and also if the size of the diagram canvas is changed?



Thanks,

Joerg.
Previous Topic:WrappingLabel not aligning where specified
Next Topic:Central point for saving Model data
Goto Forum:
  


Current Time: Wed Apr 24 19:05:14 GMT 2024

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

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

Back to the top