| 
| selection problem [message #52171] | Fri, 03 January 2003 11:49  |  | 
| Eclipse User  |  |  |  |  | Hello, 
 I got an MyGraphicalEditPart where I packed several Figures onto, a Label
 etc., and finally a plain figure.This figure is returned in method
 MyGraphicalEditPart#getContentPane. Then GEF fills this content pane with
 other Labels.
 
 In the Editor I can select MyGraphicalEditPart without problem, but I cannot
 select any Labels inside MyGraphicalEditPart's content pane, though GEF put
 several labels inside. It seems that Figure#findDescendantAtExcluding does
 not find any figure inside the content pane, but only the figure
 representing the container, and so it does not paint any selection around
 the label. But the selection itself is correctly propagated to another
 Eclipse View with selected object as my EditPart whose figure is the
 selected Label.
 
 Any ideas?
 
 Chris
 |  |  |  | 
| 
| Re: selection problem [message #52197 is a reply to message #52171] | Fri, 03 January 2003 12:57  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: hudsonr.us.eye-bee-em.com 
 "Chris" <wibni@web.de> wrote in message news:av4e7q$v4c$1@rogue.oti.com...
 > Hello,
 >
 > I got an MyGraphicalEditPart where I packed several Figures onto, a Label
 > etc., and finally a plain figure.This figure is returned in method
 > MyGraphicalEditPart#getContentPane. Then GEF fills this content pane with
 > other Labels.
 >
 > In the Editor I can select MyGraphicalEditPart without problem, but I
 cannot
 > select any Labels inside MyGraphicalEditPart's content pane, though GEF
 put
 > several labels inside. It seems that Figure#findDescendantAtExcluding does
 > not find any figure inside the content pane, but only the figure
 > representing the container, and so it does not paint any selection around
 > the label. But the selection itself is correctly propagated to another
 > Eclipse View with selected object as my EditPart whose figure is the
 > selected Label.
 
 I don't understand.  You are contradicting yourself.  How is it that the
 correct selection is propogated if the figure (and therefore EditPart)
 wasn't found?  That isn't possible.  The EditPart is probably selected, but
 the selection (i.e. handles) is not appearing for some reason.
 >
 > Any ideas?
 >
 > Chris
 >
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.41347 seconds