Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Defining anchor point using XYAnchor
Defining anchor point using XYAnchor [message #725208] Wed, 14 September 2011 09:02
Chaitannya  is currently offline Chaitannya
Messages: 14
Registered: May 2010
Junior Member
I had previously tried using XYAnchor as anchor connection, but faced a problem with it. When the figure was relocated, the connection remained as it is. With chopbox anchor the connection moves with the figure and working fine. How to achieve it with XYAnchor

the code i tried was

XYAnchor(new Point(getFigure().getBounds().x,getFigure().getBounds().y));

[Updated on: Wed, 14 September 2011 09:02]

Report message to a moderator

Previous Topic:Direct Edit In Gef
Next Topic:How to get objects selected under a region
Goto Forum:
  


Current Time: Thu Oct 02 08:35:36 GMT 2014

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

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