|
Re: Selection of parent through its children [message #231800 is a reply to message #231714] |
Sat, 17 March 2007 16:17 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Return false for EditPart#isSelectable() for all child editparts.
"Nacef LABIDI" <nacef.l@gmail.com> wrote in message
news:eta0h6$f3u$1@utils.eclipse.org...
> Hi all,
>
> I have a diagram where I have 2 kinds of parts :
> - a parent that is playing the role of a container
> - children parts that are contained in each parent part.
>
> When clicking on a child I want the parent to be selected. The problem
> appears that the children are covering all the surface for the parent on
> the diagram, so the parent is not directly hit. If I have an empty
> container or a not completely filled parent I can select it and have it
> surrounded by the selection handles.
>
> I want to be able to select the parent in all cases : hitting it directly
> if it is empty or if there is spaces between child, or hitting any child
> belonging to the parent and so have the parent selected.
>
> Thank you all
|
|
|
Powered by
FUDForum. Page generated in 0.03891 seconds