Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Connection Z-order
Connection Z-order [message #230208] Wed, 07 February 2007 00:12
Eclipse UserFriend
Originally posted by:

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

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.

Previous Topic:Z-order problem
Next Topic:Z-order Connections
Goto Forum:

Current Time: Tue Oct 19 00:33:48 GMT 2021

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

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

Back to the top