Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:11 Go to next message
Christian is currently offline ChristianFriend
Messages: 72
Registered: July 2009
Member
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 17:07 Go to previous messageGo to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
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 17:46 Go to previous messageGo to next message
Christian is currently offline ChristianFriend
Messages: 72
Registered: July 2009
Member
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 22:29 Go to previous message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
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: Fri Apr 26 04:10:00 GMT 2024

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

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

Back to the top