Skip to main content


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 Friend
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 Mar 28 10:36:58 GMT 2024

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

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

Back to the top