|
Re: Blocked ChangeBoundRequests when dragged figures overlap [message #199515 is a reply to message #199457] |
Mon, 17 October 2005 04:18 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
If you're getting orphan requests, that means you have an edit policy
installed on your "boxes" that understands add requests. The shapes example
does what you're trying to.
"benedict heal" <bh@benedictheal.com> wrote in message
news:dirg3t$l3a$1@news.eclipse.org...
>
> I've modified the demo schema editor into a basic box&line editor.
> I want to allow a box to be dragged onto another, though there is no
> semantics of 'adding' attached - the boxes should simply overlap.
>
> This works fine, until the dragging mouse location comes into the figure
> area of another box. At this point I stop getting ChangeBoundRequests,
> and instead get GroupRequests via getOrphanChildren() as a result of a
> REQ_ORPHAN_CHILDREN request .
>
> The GroupRequest contains a single edit part in the getEditParts(), and
> no extended data.
>
> 1. What has stopped the ChangeBoundRequests from coming?
>
> 2. Is it possible get the location info out of the group request that I
> used to get out of the ChangeBoundRequest?
>
> 3. Can anyone point me at any documentation/examples that might be
relevant?
>
> Many thanks for any suggestions.
> Benedict
>
|
|
|
Powered by
FUDForum. Page generated in 0.02979 seconds