Friday 15 July 2011

java - Adding Tooltips to individual words in a TreeViewer -


I have a TreeViewer window that contains Tree , and I want to create tooltips hovering over specific words

By now, I am able to add tooltips to the whole line using only ColumnViewerToolTipSupport.enableFor () , although this does not conform to my needs < / P>

How can I have different tooltips for each different word?

I have never tried it ... but if you can get label object that If the tree represents an item in the viewer, you can try adding it and make your tooltip.

No comments:

Post a Comment