Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ColumnLabelProvider SWT tooltip problem

 
Diarmuid Mc Donald
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had to add the TreeViewer enable ColumnViewerToolTipSupport for the TreeViewer

ColumnViewerToolTipSupport.enableFor(treeViewer);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic