Bring Connection shape to front (z-index) [message #1749317] |
Mon, 05 December 2016 07:22  |
Eclipse User |
|
|
|
Hi Michael,
In a new project I'm using rectangles to represent equipments with some ports, and connections to represent the linking between two equipments.
However on huge diagrams the connection shapes are stacked and when the user selects a connection I would like to bring it to the front in order to see the whole connection selected.
Any ideas on how I could achieve this? I have already had a look at the PeService#sendToFront() API which should be used for Shapes but there do not seem to be an entry point for Connections... In another thread you said connections are drawn on one single layer above the Shape one but there might be a GEF trick to bring a connection to the front (eg: take its container and set the connection figure as first child, then refresh).
Thanks!
Jérôme
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02719 seconds