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 User
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: Mon Sep 22 12:23:07 GMT 2014

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

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