Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Custom layout provider
Custom layout provider [message #211406] Tue, 18 November 2008 05:46
Eclipse UserFriend
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: Fri May 16 18:42:34 EDT 2025

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

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

Back to the top