Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Z-order Connections
Z-order Connections [message #230217] Wed, 07 February 2007 00:14
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:Connection Z-order
Next Topic:General design problem
Goto Forum:
  


Current Time: Thu Oct 28 11:41:30 GMT 2021

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

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

Back to the top