Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ActiveEditorId not set on startup
ActiveEditorId not set on startup [message #328182] Fri, 16 May 2008 14:03 Go to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Hello,

First, I really apologize if this question has already been asked.
Indeed, I'm new to Eclipse, and I did not find my answer on the internet.

I have some toolbar buttons that are only visibleWhen the good editor is
opened. (the condition on visibleWhen look for ActiveEditorId and checks
whether it is equal to the editor that goes with these buttons).
The problem is that when I start Eclipse with an opened document in this
editor, buttons are not displayed! Indeed, it seems like the visibleWhen
condition is evaluated before Eclipse starts the editor; so that buttons
are not shown until an event occurs on my workspace.

Is there a way to solve this problem?

Thanks in advance!
Mickael (for JWT project)
Re: ActiveEditorId not set on startup [message #328185 is a reply to message #328182] Fri, 16 May 2008 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Mickael,

If it's reproducible with a test case you should report it in a bugzilla
since it sounds like something the platform would need to fix...


Mickael Istria wrote:
> Hello,
>
> First, I really apologize if this question has already been asked.
> Indeed, I'm new to Eclipse, and I did not find my answer on the internet.
>
> I have some toolbar buttons that are only visibleWhen the good editor
> is opened. (the condition on visibleWhen look for ActiveEditorId and
> checks whether it is equal to the editor that goes with these buttons).
> The problem is that when I start Eclipse with an opened document in
> this editor, buttons are not displayed! Indeed, it seems like the
> visibleWhen condition is evaluated before Eclipse starts the editor;
> so that buttons are not shown until an event occurs on my workspace.
>
> Is there a way to solve this problem?
>
> Thanks in advance!
> Mickael (for JWT project)
Re: ActiveEditorId not set on startup [message #328187 is a reply to message #328185] Fri, 16 May 2008 14:55 Go to previous message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Hi Ed,

I took a look at the bugzilla, and I admit I should have done it before
posting here...
It seems that my behaviour is the same as the one reported (and fixed)
here -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=228973

Thank you,
Mickael

Ed Merks a écrit :
> Mickael,
>
> If it's reproducible with a test case you should report it in a bugzilla
> since it sounds like something the platform would need to fix...
>
>
> Mickael Istria wrote:
>> Hello,
>>
>> First, I really apologize if this question has already been asked.
>> Indeed, I'm new to Eclipse, and I did not find my answer on the internet.
>>
>> I have some toolbar buttons that are only visibleWhen the good editor
>> is opened. (the condition on visibleWhen look for ActiveEditorId and
>> checks whether it is equal to the editor that goes with these buttons).
>> The problem is that when I start Eclipse with an opened document in
>> this editor, buttons are not displayed! Indeed, it seems like the
>> visibleWhen condition is evaluated before Eclipse starts the editor;
>> so that buttons are not shown until an event occurs on my workspace.
>>
>> Is there a way to solve this problem?
>>
>> Thanks in advance!
>> Mickael (for JWT project)
Previous Topic:help -- cannot update pde incubator visualization plugin
Next Topic:iPath.getFullPath doesn"t return the device letter
Goto Forum:
  


Current Time: Tue Jul 16 14:18:52 GMT 2024

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

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

Back to the top