[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] TableViewer and CellLabelProviders
|
I have a table viewer with ten columns. I'd like to provide cell tooltips
for two of those columns only. The rest don't require tooltips. I followed
the code in Snippet011CustomTooltips, but I wasn't seeing my tooltips. I
didn't noticed that a label provider hadn't been set on the table viewer in
the snippet. It appears that if a label provider is set on the viewer, any
column CellLabelProviders are ignored.
I had assumed that the viewer would use its label provider unless a
CellLabelProvider exists for a column, in which case it would use the
CellLabelProvider. Is there a way to make that happen, so I don't have to
set ten CellLabelProviders to get tooltips in two columns?