Skip to main content



      Home
Home » Eclipse Projects » GEF » selection problem
selection problem [message #52171] Fri, 03 January 2003 11:49 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:Quesiton: Figure and Connection
Next Topic:Drag and Drop between Views
Goto Forum:
  


Current Time: Thu May 01 17:12:08 EDT 2025

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

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

Back to the top