Movable label on connection [message #168942] |
Sun, 20 February 2005 17:35 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03973 seconds