Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Z-order problem
Z-order problem [message #230200] Wed, 07 February 2007 00:08
Eclipse UserFriend
Originally posted by: tunda123.gmail.com

I am trying to make connections go under the diagram.
I tried to override the createPrintableLayers in a class that inherits from
ScalableFreeformRootEditPart.

protected LayeredPane createPrintableLayers() {
FreeformLayeredPane layeredPane = new FreeformLayeredPane();
layeredPane.add(new ConnectionLayer(), CONNECTION_LAYER);
layeredPane.add(new FreeformLayer(), PRIMARY_LAYER);
return layeredPane;
}

When I did this only connections show, the GraphicaleditParts disappear.

When I tried to inherit the class from ScalableRootEditPart and overrode the createPrintableLayer switching the ordering of the layers. Now only the GraphicalEditParts show the connections disappear.

Ofcourse I have tried to set all my figures to transperant, and my connections to transperant sperately and together.
Any suggestions thoughts on what is going on. Since I am new to GEF any suggestions would be greatly appreciated.

Tunda
Previous Topic:Draw2D: Move connections behind figures
Next Topic:Connection Z-order
Goto Forum:
  


Current Time: Thu Apr 25 20:39:32 GMT 2024

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

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

Back to the top