Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Layers and Figure Selection
Layers and Figure Selection [message #183924] Wed, 08 June 2005 15:26 Go to next message
Eclipse UserFriend
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 #184093 is a reply to message #183924] Fri, 10 June 2005 19:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bberry.harmonia.com

Anyone? Please help me out here. I have been unable to locate any
discussions regarding this particular aspect of the MVC.
Re: Layers and Figure Selection [message #184100 is a reply to message #184093] Fri, 10 June 2005 20:06 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Tool tip label allways shows ELLIPSIS
Next Topic:Fire an Action When Clicking on a Tool entry?
Goto Forum:
  


Current Time: Mon Dec 02 21:16:47 GMT 2024

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

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

Back to the top