Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » diagram with root ToolbarLayout
diagram with root ToolbarLayout [message #228321] Tue, 19 December 2006 14:17
Eclipse UserFriend
Originally posted by:

in diagram editpart i have

protected IFigure createFigure() {
Figure d = new FreeFormLayer();
d.setLayoutManager(new FreeformLayout());

Figure c = new Figure();
c.setLayoutManager(new ToolbarLayout(ToolbarLayout.VERTICAL));

return f;

in getContentPane() i return figure c.

is another (more right) way to do this? (i tried return c in
createFigure() but it's not working)

how can i order my c-figure always being in center of d?

Previous Topic:Connection to front?
Next Topic:GEF Shapes-RCP show outline and property views
Goto Forum:

Current Time: Wed Dec 08 20:25:52 GMT 2021

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

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

Back to the top