Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ConnectionAnchor location
ConnectionAnchor location [message #528929] Thu, 22 April 2010 12:35 Go to next message
saadia dhouib is currently offline saadia dhouibFriend
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 07:47 Go to previous message
saadia dhouib is currently offline saadia dhouibFriend
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:many editpolicies with the same role for the same editpart
Goto Forum:
  


Current Time: Sat Apr 27 04:01:50 GMT 2024

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

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

Back to the top