Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » move Anchor on node
move Anchor on node [message #213843] Tue, 11 April 2006 14:00 Go to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi,

How can I do in order to be able to change the acnhor position of an
anchor connection with my mouse like In GMF API.

For the moment I used ChopboxAnchor.
Re: move Anchor on node [message #214059 is a reply to message #213843] Wed, 12 April 2006 17:29 Go to previous message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
You'd need to create a custom Anchor that subclasses from
AbstractConnectionAnchor. It's position could be synchronized based on a
property stored in your model that represents the anchor position on the
target / source shape.

Since you referenced GMF, you could take a look at
org.eclipse.gmf.runtime.gef.ui.figures.SlidableAnchor

-Steve


"Patrick" <Patrick.Tessier@cea.fr> wrote in message
news:bd162c40ff06a0f0e47c1c3318a8ab38$1@www.eclipse.org...
> Hi,
>
> How can I do in order to be able to change the acnhor position of an
> anchor connection with my mouse like In GMF API.
>
> For the moment I used ChopboxAnchor.
>
>
>
Previous Topic:Which edit policy handles the clicking of a button figure?
Next Topic:GEF M6 dependencies to ICU
Goto Forum:
  


Current Time: Mon Jan 20 05:46:57 GMT 2025

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

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

Back to the top