JFace TableViewer shows two tooltips - custom and default
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I got a strange situation here where I need help. I create a fairly simple JFace Table using a TableViewer . When you do nothing more, you can see the following behavior: when a cell's text is too large, a tooltip showing the complete text will appear after a short wait. That's normal behavior and I guess that the native controls draw these tooltips. Now I added my own custom tooltips, using ColumnViewerToolTipSupport.enableFor( tableViewer, ToolTip.NO_RECREATE ); And delivering a (different) text using getToolTipText() method of a label