Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ConnectionAnchor location
ConnectionAnchor location [message #528929] Thu, 22 April 2010 08:35 Go to next message
saadia dhouib is currently offline saadia dhouib
Messages: 36
Registered: April 2010
Member
Hi all,
I have a question connection anchors,
I need to know the location of a connection anchor. To do this, I have seen that connectionanchor have two methods:
1/ org.eclipse.draw2d.ConnectionAnchor.getLocation(Point reference)
2/ org.eclipse.draw2d.ConnectionAnchor.getReferencePoint()

What is the difference between those two methods, and which is the method that gives the anchor location? If it is getLocation(Point reference), how to determine the argument reference?

Thanks

Re: ConnectionAnchor location [message #529134 is a reply to message #528929] Fri, 23 April 2010 03:47 Go to previous message
saadia dhouib is currently offline saadia dhouib
Messages: 36
Registered: April 2010
Member
Finally , I have succeded to get the coordinates of the sourceanchorconnection and the targetanchorconnection.

My question is: how to have the same coordinate system for the source and target anchor connection?

Thanks
Previous Topic:Fixed Size Editor
Next Topic:[Zest] Create a Nested-Node Link Graph
Goto Forum:
  


Current Time: Fri Aug 22 17:39:57 EDT 2014

Powered by FUDForum. Page generated in 0.01682 seconds