Layers and Figure Selection [message #183924] |
Wed, 08 June 2005 15:26 |
Eclipse User |
|
|
|
Originally posted by: bberry.harmonia.com
I have seen a number of visual editor tools, including VEP and JBuilder,
that seem to forward selection to overlapped figures. That is, if two
siblings overlap, the one on the bottom will receive selection when the
user clicks inside its bounds even if the click falls within the bounds of
the higher sibling.
I am curious as to how this functionality was achieved. Thanks in advance
for any help you can offer.
|
|
|
|
Re: Layers and Figure Selection [message #184100 is a reply to message #184093] |
Fri, 10 June 2005 20:06 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
There are a few ways you can achieve this, I suppose. One way is to have
the EditPart for the top figure not be selectable (return false for
isSelectable()). You should just look at VEP's code to see what they're
doing.
"Brendan Berry" <bberry@harmonia.com> wrote in message
news:db439a079ab60ddd2f9d29f23613d51b$1@www.eclipse.org...
> Anyone? Please help me out here. I have been unable to locate any
> discussions regarding this particular aspect of the MVC.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03236 seconds