This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ColumnLabelProvider SWT tooltip problem" Watch "ColumnLabelProvider SWT tooltip problem" New topic
Author

ColumnLabelProvider SWT tooltip problem

Diarmuid Mc Donald
Greenhorn

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
Greenhorn

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

ColumnViewerToolTipSupport.enableFor(treeViewer);
 
 
subject: ColumnLabelProvider SWT tooltip problem
 
Similar Threads
Any chance that you will have a While X'mas?
Rueben or Clay??
Need IT Job in Canada
Labels with Name in Javaranch Forum Site
unable to access jsp pages