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: Sferzah.yandex.ru

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));

d.add(c);
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?

thx!
Previous Topic:a question about connection
Next Topic:Lazy-loading while rendering the graph
Goto Forum:
  


Current Time: Thu Apr 25 10:53:19 GMT 2024

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

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

Back to the top