Status bar icons not working correctly in eclipse 4 [message #797697] |
Mon, 13 February 2012 15:17  |
Eclipse User |
|
|
|
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.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07364 seconds