Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » connections z-order and container EditParts
connections z-order and container EditParts [message #230095] Wed, 31 January 2007 15:44
Mark Robinson is currently offline Mark RobinsonFriend
Messages: 37
Registered: July 2009
Member
I have a container EditPart_A which contains children of EditPart_B. I
have connections from EditPart_B to other figures in the diagram. I'm
having problems with the z-ordering of the connections. I want the
connections to be hidden behind the editPart_A if editPart_A overlaps the
connection.

I've succeeded in switching the ordering of the primary_layer and the
connection_layer by overriding createPrintableLayers, but this causes the
connection to terminate at the outer edge of the parent EditPart_A and not
show the connection terminating at the child EditPart_B.

It seems that EditPart_A needs to be on a different layer to its children;
but then I'm back to square one and the connection figures will always
appear above EditPart_A.

Is it possible to get the result I'm after?

Thanks,
Mark Robinson
Previous Topic:CellEditor
Next Topic:Drop EditPart from TreeViewer
Goto Forum:
  


Current Time: Sun Oct 17 10:26:55 GMT 2021

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

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

Back to the top