Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » ToolTip on Table cells, Linux
ToolTip on Table cells, Linux [message #1811236] Thu, 29 August 2019 09:43 Go to next message
Anirudh Das is currently offline Anirudh DasFriend
Messages: 2
Registered: August 2019
Junior Member
I'm working in Linux env
For my application, I would like to show tooltips on table cells when the user hovers the mouse over them and I have used Table widget to create the table

I know that the tooltips are only shown if the text does not fit into the row. If the text does fit in the row, no tooltip is shown.

But this behaviour is not exactly happening in my case when I'm adding a row with a column text large enough. However in Windows env, It is working fine.

please help me out if I can explicitly enable the tooltip to show for Table cell or set it myself based on the text added?
Re: ToolTip on Table cells, Linux [message #1811253 is a reply to message #1811236] Thu, 29 August 2019 14:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Fancier tool tips, e.g., even with HTML text can also be provided by label providers. You can investigate how to use org.eclipse.jface.text.AbstractHoverInformationControlManager and could look at this for inspiration:

https://git.eclipse.org/c/emf/org.eclipse.emf.git/tree/plugins/org.eclipse.emf.common.ui/src/org/eclipse/emf/common/ui/viewer/ColumnViewerInformationControlToolTipSupport.java


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Method references
Next Topic:Script to print the application interfaces in console/log
Goto Forum:
  


Current Time: Tue Apr 16 08:53:49 GMT 2024

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

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

Back to the top