How to build a simple flow editor? [message #182909] |
Mon, 30 May 2005 16:02 |
Eclipse User |
|
|
|
Originally posted by: alexey.m.softage.com.ua
Hello!
We need to build a very simple editor. I should be able to drag-n-drop
single component. Components should be laid out in a vertical row.
I have started with the 'Shapes' sample bundled with GEF. It works fine
but controls are laid out using absolute coordinates. I have tried to change
body of the DiagramEditPart's createFigure() method like this:
Figure f = new FreeformLayer();
f.setBorder(new MarginBorder(3));
f.setLayoutManager(new FlowLayout());
...
but Eclipse hangs after dropping the very first component.
Thank you very much in advance.
--
Regards,
Alexey Maslov
|
|
|
|
Powered by
FUDForum. Page generated in 0.04853 seconds