Change TrayIcon Tooltip from ProgressMonitorDialog
Posted
by Raven
on Stack Overflow
See other posts from Stack Overflow
or by Raven
Published on 2010-03-18T07:14:12Z
Indexed on
2010/03/18
7:21 UTC
Read the original article
Hit count: 272
Hello,
i am using the Eclipse RCP trayitem, which is described in Vogellas tutorials here: http://www.vogella.de/articles/RichClientPlatform/article.html#systemtray
The requirement now is not only to show the name of the app in the tooltip but also a percentage while doing lengthy operations.
I understand that the trayitem attribute is a private from ApplicationWorkbenchWindowAdvisor, so I added a getter and setter method.
The only thing missing is a possibility to access the trayitem instance from my ProgressMonitorDialog instance.
Can you tell me, how you would solve this puzzle? Thanks
© Stack Overflow or respective owner