Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Connection Layer
Connection Layer [message #57540] Thu, 23 January 2003 14:36 Go to next message
John Howard is currently offline John HowardFriend
Messages: 83
Registered: July 2009
Member
As I have a number of figures that I expand and contract I decided to add
the connections to the figure's pane by overriding the method
getLayer(Object layerId). This way I could take advantage of clipping when
the figure is contracted. This works fine no problems until I select a
connection. I suspect that the code that handles bendpoints is referencing
the CONNECTION_LAYER as the bendpoints are all offset from the connections
by the distance of the figure from the origin. Is this likely to be what is
happening? and if my diagnosis is correct is it possible to direct the
bendpoint handling to the figure's pane.

Thanks,

John.
Re: Connection Layer [message #58190 is a reply to message #57540] Sun, 26 January 2003 20:35 Go to previous message
John Howard is currently offline John HowardFriend
Messages: 83
Registered: July 2009
Member
I have this almost working in that I can create bendpoints and update the
current connections, but I am still getting the feedback offset from the
connections. I presume need to translate the coordinates somewhere. I'm
just not sure where. Any ideas?

Thanks,

John.


"John Howard" <john.howard9@btinternet.com> wrote in message
news:b0otmd$7sv$1@rogue.oti.com...
> As I have a number of figures that I expand and contract I decided to add
> the connections to the figure's pane by overriding the method
> getLayer(Object layerId). This way I could take advantage of clipping
when
> the figure is contracted. This works fine no problems until I select a
> connection. I suspect that the code that handles bendpoints is
referencing
> the CONNECTION_LAYER as the bendpoints are all offset from the connections
> by the distance of the figure from the origin. Is this likely to be what
is
> happening? and if my diagnosis is correct is it possible to direct the
> bendpoint handling to the figure's pane.
>
> Thanks,
>
> John.
>
>
>
>
>
Previous Topic:Emulate Tab Panel in GEF
Next Topic:GEF draw2D Tabbed Pane
Goto Forum:
  


Current Time: Thu Dec 26 20:47:57 GMT 2024

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

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

Back to the top