Skip to main content



      Home
Home » Eclipse Projects » GEF » Change focus
Change focus [message #662331] Wed, 30 March 2011 05:30 Go to next message
Eclipse UserFriend
Hi!!

When I create a figure which is a figure child, the focus is active on this figure. I want that the focus is active on figure parent, not child. How I can do it?

[Updated on: Wed, 30 March 2011 05:31] by Moderator

Re: Change focus [message #662357 is a reply to message #662331] Wed, 30 March 2011 06:48 Go to previous messageGo to next message
Eclipse UserFriend
On 2011-03-30 11:30, JeTBLaCK wrote:
> Hi!!
>
> When I has created a figure that it is a figure child, the focus is
> active on this figure. I want that the focus is active on figure parent,
> not child. How I can do it?

Try IFigure.requestFocus().

HTH & Greetings from Bremen,

Daniel Krügler
Re: Change focus [message #662359 is a reply to message #662357] Wed, 30 March 2011 07:35 Go to previous messageGo to next message
Eclipse UserFriend
When I create the figure parent (the children are created automatically). In this moment, the focus is on the figure parent but if I change the focus, when I select the figure parent again, the child part manages the request, not parent part.

Using requestFocus() the focus is not changed.
Re: Change focus [message #662623 is a reply to message #662359] Thu, 31 March 2011 06:36 Go to previous message
Eclipse UserFriend
Anyone?? Rolling Eyes
Previous Topic:Show selection when a connection is selected
Next Topic:Figure Drag & Drop using ALT key
Goto Forum:
  


Current Time: Sat Apr 26 05:02:36 EDT 2025

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

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

Back to the top