Connection Z-order [message #230208] |
Wed, 07 February 2007 00:12 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04710 seconds