Skip to main content



      Home
Home » Eclipse Projects » GEF » connection clipping and containers
connection clipping and containers [message #18038] Mon, 26 August 2002 15:04 Go to next message
Eclipse UserFriend
I am seeing a problem with connections not clipping when they
connect two nodes that are within a nested container. I can
also reproduce this behavior using the logic example:

1) add a "Circuit" component to a logic diagram
2) place two gates within the cicuit component
3) make a connection between the two gates
4) resize the circuit recatngle so that one of the
gates is occluded.

The edge (connection) is now drawn out of the circuit
container and appears to have no target, ie it is not
clipped where it intersects the circuit container. Is
this a GEF bug or can this be fixed by some change to
the application code (I'm having the same problem in
my application)

Thanks,

-David
Re: connection clipping and containers [message #18050 is a reply to message #18038] Mon, 26 August 2002 15:10 Go to previous message
Eclipse UserFriend
Originally posted by: hudsonr.spam.com

This is by design. If you want to change the figure which parents the
connection to be some layer in your container, see
AbstractConnectionEditPart#activateFigure(). This determines the
connection's parent, and therefore its clipping.

"David Dean" <david.dean@chordiant.com> wrote in message
news:3D6A7BC2.7090803@chordiant.com...
> I am seeing a problem with connections not clipping when they
> connect two nodes that are within a nested container. I can
> also reproduce this behavior using the logic example:
>
> 1) add a "Circuit" component to a logic diagram
> 2) place two gates within the cicuit component
> 3) make a connection between the two gates
> 4) resize the circuit recatngle so that one of the
> gates is occluded.
>
> The edge (connection) is now drawn out of the circuit
> container and appears to have no target, ie it is not
> clipped where it intersects the circuit container. Is
> this a GEF bug or can this be fixed by some change to
> the application code (I'm having the same problem in
> my application)
>
> Thanks,
>
> -David
>
Previous Topic:Anti- aliasing for graphics
Next Topic:Grid
Goto Forum:
  


Current Time: Wed May 07 21:34:20 EDT 2025

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

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

Back to the top