This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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

Have you checked out Aspose?
subject: ColumnLabelProvider SWT tooltip problem
It's not a secret anymore!