Skip to main content



      Home
Home » Eclipse Projects » GEF » Defining anchor point using XYAnchor
Defining anchor point using XYAnchor [message #725208] Wed, 14 September 2011 05:02
Eclipse UserFriend
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 05:02] by Moderator

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


Current Time: Fri Jul 04 23:33:22 EDT 2025

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

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

Back to the top