Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Status bar icons not working correctly in eclipse 4
Status bar icons not working correctly in eclipse 4 [message #797697] Mon, 13 February 2012 20:17 Go to next message
Sergey Bushkov is currently offline Sergey BushkovFriend
Messages: 29
Registered: July 2009
Junior Member
Our plugin adds an icon to the status bar. It displays some statuses (different images/tooltips); user can click it to get more information, resolve problem, etc. The control was added as command/menu contribution to trim.status. The handler implements IElementUpdater, which allows plugin to change icons/tooltips.

It worked fine in eclipse 3.7 and below; but does not work correctly in 4.1.1 and 4.2.M5:

1) Originally, the command was added to locationURI= "toolbar:org.eclipse.ui.trim.status?after=HEAD_GROUP". This URI does not work in 4.2 (control does not appear). However, locationURI= "toolbar:org.eclipse.ui.trim.status" works in 4.2.

The "after=HEAD_GROUP" part was used to move the control to the bottom-right corner. Is it deprecated now? What is the right way to ensure bottom-right position of the control?

2) Looks like the IElementUpdater mechanism is broken in 4.2: handler.updateElement() is never called; plugin cannot update image/tooltip. Is it a bug or coming change in e4 API?


Thanks in advance.

Re: Status bar icons not working correctly in eclipse 4 [message #797702 is a reply to message #797697] Mon, 13 February 2012 20:20 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
if it works in 3.7/3.8 it should work in 4.2. Please file a bugzilla.

Tom

Am 13.02.12 21:17, schrieb Sergey Bushkov:
> Our plugin adds an icon to the status bar. It displays some statuses (different images/tooltips); user can click it to get more information, resolve problem, etc. The control was added as command/menu contribution to trim.status. The handler implements IElementUpdater, which allows plugin to change icons/tooltips.
>
> It worked fine in eclipse 3.7 and below; but does not work correctly in 4.1.1 and 4.2.M5:
>
> 1) Originally, the command was added to locationURI= "toolbar:org.eclipse.ui.trim.status?after=HEAD_GROUP". This URI does not work in 4.2 (control does not appear). However, locationURI= "toolbar:org.eclipse.ui.trim.status" works in 4.2.
>
> The "after=HEAD_GROUP" part was used to move the control to the bottom-right corner. Is it deprecated now? What is the right way to ensure bottom-right position of the control?
>
> 2) Looks like the IElementUpdater mechanism is broken in 4.2: handler.updateElement() is never called; plugin cannot update image/tooltip. Is it a bug or coming change in e4 API?
>
>
> Thanks in advance.
>
>
Re: Status bar icons not working correctly in eclipse 4 [message #1234763 is a reply to message #797702] Wed, 22 January 2014 18:58 Go to previous message
Jamel G. is currently offline Jamel G.Friend
Messages: 12
Registered: April 2011
Junior Member
I have the same problem of the toolbar:org.eclipse.ui.trim.status on Kepler 4.3.1, it used to be in 3.7 on the right corner.

Is there any way to align it as before ?

Thank you in advance
Previous Topic:[Solved] How do I use alternative keystore and truststore providers when using Eclipse?
Next Topic:PluginTest runner cannot find test bundle for session test in all but the first session
Goto Forum:
  


Current Time: Thu Apr 25 12:04:01 GMT 2024

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

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

Back to the top