Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsTwo kinds of connections
https://www.eclipse.org/forums/index.php/mv/msg/69713/218369/#msg_218369
Originally posted by: dieter.bogdoll.siemens.com
Hi,
I have two kinds of connections. It is possible that between any
two verteces two different kinde of edges are drawn.
Visually the edges differ in the line width and color.
I would like to enforce that the connection type A is always
drawn on top of connection type B. I couldn't find a mechanism
how to assure that.
Thanks.
Dieter Bogdoll]]>2006-06-23T08:57:33-00:00Re: Two kinds of connections
https://www.eclipse.org/forums/index.php/mv/msg/69713/218412/#msg_218412
ConnectionLayer. It may be possible to have 2 different ConnectionLayers
with the desired z-order you're looking for. Then when connections are
added to the connection layer you would differentiate based on type.
-Steve
"Dieter Bogdoll" <dieter.bogdoll@siemens.com> wrote in message
news:8cd678aa21af37601bfc0ba8f231eafc$1@www.eclipse.org...
> Hi,
>
> I have two kinds of connections. It is possible that between any
> two verteces two different kinde of edges are drawn.
> Visually the edges differ in the line width and color.
>
> I would like to enforce that the connection type A is always
> drawn on top of connection type B. I couldn't find a mechanism
> how to assure that.
>
> Thanks.
>
> Dieter Bogdoll
>]]>Steven R. Shaw2006-06-23T20:47:49-00:00Re: Two kinds of connections
https://www.eclipse.org/forums/index.php/mv/msg/69713/219070/#msg_219070
Originally posted by: none.us.ibm.com
connection z-order is not important in GEF and you could control it in your
application. In your connection editpart, you could override:
"Dieter Bogdoll" <dieter.bogdoll@siemens.com> wrote in message
news:8cd678aa21af37601bfc0ba8f231eafc$1@www.eclipse.org...
> Hi,
>
> I have two kinds of connections. It is possible that between any two
> verteces two different kinde of edges are drawn. Visually the edges differ
> in the line width and color.
>
> I would like to enforce that the connection type A is always
> drawn on top of connection type B. I couldn't find a mechanism
> how to assure that.
>
> Thanks.
>
> Dieter Bogdoll
>]]>2006-07-06T20:54:59-00:00