[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Tray Tooltip problem...
|
I'm trying to display tooltip in my RCP application' tray item. I'm using SWT' ToolTip widget.
<b>
Shell shell = workbench.getActiveWorkbenchWindow().getShell();
final ToolTip tip = new ToolTip(shell, SWT.BALLOON | SWT.ICON_INFORMATION);
tip.setMessage("Successfully installed ..... updates");
tip.setText("Installation notification");
tip.setVisible(true);
workbench.getDisplay().getSystemTray().getItem(0).setToolTip(tip);</b>
The problem is,
- Tooltip is not actually displayed in the tray, rather it is displayed at cursor point.
- The Close button is missing in the ToolTip
Though, it seems to be ok in a standalone java class (with main method)- I mean the tooltip is displayed in the tray and has a close button.
Suggestions and Solutions are welcome....