ve gridBagLayout mechanism [message #607812] |
Fri, 20 May 2005 11:43 |
Eclipse User |
|
|
|
Originally posted by: tom_edwards.gmx.net
Hi there!
I'm interested in the gridbaglayout mechanism that is used in the visual
editor for layouting figures.
In my project I would like implement a gef editor which allows to layout
draw2d components based on a gridBagLayout. what I have are
abstractGraphicalEditPart subclasses for all model objects. the figures
that correspond to these editPart classes can access gridBagConstraint
values which were calculated from an algorithm. what I would like to do is
to layout these figures according to their gridBagConstraints in the gef
editor.
how can I achieve this (since there is no such draw2d layout available)?
how is this done in the visual editor for the swing components? is it
possible to reuse some of the visual editor functionality for my problem.
Thanks for any help. Tom
|
|
|
Powered by
FUDForum. Page generated in 0.03358 seconds