Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Activate editor and not Activate editor on creation. Whats the difference?
Activate editor and not Activate editor on creation. Whats the difference? [message #485517] Sat, 12 September 2009 08:11 Go to next message
Eclipse UserFriend
Hello Group,

just wanted to ask what is the exact difference between calling
openEditor(input,id,activate) on a page with true or false as "activate" ?

My expectation was that with false the editor would open up in background.
Though it seems like this is not the case even with false the editor
gets opened and is brought to top.

Anyone can enlighten me?

Christian
Re: Activate editor and not Activate editor on creation. Whats the difference? [message #485536 is a reply to message #485517] Sat, 12 September 2009 13:07 Go to previous messageGo to next message
Eclipse UserFriend
On Sat, 12 Sep 2009 14:11:20 +0200, Christian wrote:
> just wanted to ask what is the exact difference between calling
> openEditor(input,id,activate) on a page with true or false as
> "activate" ?

Activating it should cause the editor to take focus also (blue'd tab
instead of non-blue'd tab).

Regards,
Remy
Re: Activate editor and not Activate editor on creation. Whats the difference? [message #485964 is a reply to message #485536] Tue, 15 September 2009 13:46 Go to previous messageGo to next message
Eclipse UserFriend
Remy Suen schrieb:
> On Sat, 12 Sep 2009 14:11:20 +0200, Christian wrote:
>> just wanted to ask what is the exact difference between calling
>> openEditor(input,id,activate) on a page with true or false as
>> "activate" ?
>
> Activating it should cause the editor to take focus also (blue'd tab
> instead of non-blue'd tab).
>
> Regards,
> Remy

When I set the value to false the editor is still brought to top and the
tab is blued... using eclipse 3.5

any other differences?
Re: Activate editor and not Activate editor on creation. Whats the difference? [message #486017 is a reply to message #485964] Tue, 15 September 2009 18:29 Go to previous message
Eclipse UserFriend
On Tue, 15 Sep 2009 19:46:07 +0200, Christian wrote:
> When I set the value to false the editor is still brought to top and the
> tab is blued... using eclipse 3.5

It will be brought to top no matter what, you can't get around that.

It should, however, not be blue'd (becoming the active part). I do not
have this problem though I'm using a 3.6 build. I don't think we've made
any changes to this code though I could be wrong.

Regards,
Remy
Previous Topic:Browser Icon Change
Next Topic:getActiveWorkbenchWindow() always returns null while getting selected resource
Goto Forum:
  


Current Time: Thu Jul 03 12:15:12 EDT 2025

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

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

Back to the top