Custom layout provider [message #211406] |
Tue, 18 November 2008 05:46 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02695 seconds