Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Change focus
Change focus [message #662331] Wed, 30 March 2011 09:30 Go to next message
JeTBLaCK  is currently offline JeTBLaCK Friend
Messages: 41
Registered: March 2011
Member
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 09:31]

Report message to a moderator

Re: Change focus [message #662357 is a reply to message #662331] Wed, 30 March 2011 10:48 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
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 11:35 Go to previous messageGo to next message
JeTBLaCK  is currently offline JeTBLaCK Friend
Messages: 41
Registered: March 2011
Member
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 10:36 Go to previous message
JeTBLaCK  is currently offline JeTBLaCK Friend
Messages: 41
Registered: March 2011
Member
Anyone?? Rolling Eyes
Previous Topic:Show selection when a connection is selected
Next Topic:Figure Drag & Drop using ALT key
Goto Forum:
  


Current Time: Fri Mar 29 11:29:50 GMT 2024

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

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

Back to the top