File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes ColumnLabelProvider SWT tooltip problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ColumnLabelProvider SWT tooltip problem" Watch "ColumnLabelProvider SWT tooltip problem" New topic

ColumnLabelProvider SWT tooltip problem

Diarmuid Mc Donald

Joined: Jul 17, 2007
Posts: 9
Hi guys,

i am using eclipse 3.3, I have created a class that extends ColumnLabelProvider and have added this to a TreeViewerColumn.

The getText and getImage work fine, but the getToolTipText(), never seems to get called. I also have getToolTipImage() returning a blank image.

Any help would be greatly appreciated
Diarmuid Mc Donald

Joined: Jul 17, 2007
Posts: 9
I had to add the TreeViewer enable ColumnViewerToolTipSupport for the TreeViewer

I agree. Here's the link:
subject: ColumnLabelProvider SWT tooltip problem