ActiveEditorId not set on startup [message #328182] |
Fri, 16 May 2008 10:03  |
Eclipse User |
|
|
|
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 #328187 is a reply to message #328185] |
Fri, 16 May 2008 10:55  |
Eclipse User |
|
|
|
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)
|
|
|
Powered by
FUDForum. Page generated in 0.02919 seconds