Skip to main content



      Home
Home » Eclipse Projects » GEF » Z-order Connections
Z-order Connections [message #230217] Tue, 06 February 2007 19: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:Outline map
Goto Forum:
  


Current Time: Mon Jul 07 14:23:05 EDT 2025

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

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

Back to the top