Skip to main content



      Home
Home » Eclipse Projects » GEF » Movable label on connection
Movable label on connection [message #168942] Sun, 20 February 2005 17:35
Eclipse UserFriend
Originally posted by: ilja.selenzow.web.de

Hi,

I want to add a label to a connection that can be moved by user. My label is
a child EditPart of my connection and I'm able to move it around. I read
both posts about on this subject and I installed a NonResizableEditPolicy in
my child edit part. Then I subclassed the DragEditPartsTracker and overwrote
the updateTargetUnderMouse method to return alwas false. This DragTracker is
returen by my child edit part in the method getDragTracker(Request). My
problem is: everywhere I move my label I see the cursor that doesn't allow
me to drop the lable even when I'm over the connection that is the parent of
the label.

Can anybody tell me what is wron or what did I forget?

Thanks in advance.

Ilja
Previous Topic:Toolbar in the editor?
Next Topic:MVC or PAC
Goto Forum:
  


Current Time: Mon May 12 09:49:29 EDT 2025

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

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

Back to the top