who can i catch an addRequest on a Connection? [message #199204] |
Fri, 14 October 2005 08:23 |
Eclipse User |
|
|
|
Originally posted by: philipp_sessner.yahoo.de
hi, does anyone know how i can catch an AddRequest on a Connection?
I want to move an Figure on Connection and want to add it to the parent
of the source/target of the Connection. i want to split the connection
and create an new connection between the source and the new element and
between the new element and the target. I tried to install an
containerEditPolicy on the connection, but i can only catch an
selectionRequest.
Thanks
|
|
|
Re: who can i catch an addRequest on a Connection? [message #199302 is a reply to message #199204] |
Fri, 14 October 2005 14:31 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The DragEditPartsTracker adds the connection layer to the exclusion set.
This was done at a time when targeting of figures was not as robust as it is
now. It could probably be removed, but that could result in performance
decrease as every connection would get tested for intersection. Apparently
this scenario isn't too common.
So, for now you can override/extend getExclusionSet, and make sure the
connection layer is not included.
"Philipp Se
|
|
|
Re: who can i catch an addRequest on a Connection? [message #199389 is a reply to message #199302] |
Fri, 14 October 2005 15:45 |
Eclipse User |
|
|
|
Originally posted by: philipp_sessner.yahoo.de
thanks a lot!!!! i get the AddRequest now - i´m not sure if i really
know what i did, but it is working.
Philipp
Randy Hudson schrieb:
> The DragEditPartsTracker adds the connection layer to the exclusion set.
>
> This was done at a time when targeting of figures was not as robust as it is
> now. It could probably be removed, but that could result in performance
> decrease as every connection would get tested for intersection. Apparently
> this scenario isn't too common.
>
> So, for now you can override/extend getExclusionSet, and make sure the
> connection layer is not included.
>
> "Philipp Seßner" <philipp_sessner@yahoo.de> wrote in message
> news:dinptq$fe3$1@news.eclipse.org...
>
>>hi, does anyone know how i can catch an AddRequest on a Connection?
>>
>>I want to move an Figure on Connection and want to add it to the parent of
>>the source/target of the Connection. i want to split the connection and
>>create an new connection between the source and the new element and
>>between the new element and the target. I tried to install an
>>containerEditPolicy on the connection, but i can only catch an
>>selectionRequest.
>>
>>Thanks
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03702 seconds