Bug 166635 [Viewers] DelegatingCellLabelProvider breaks OwnerDrawLabelProvider
OwnerDrawLabelProviders are now being wrapped in DelegatingCellLabelProviders so the event handling code fails as we can no longer access the label provider CellLabelProvider provider = viewer .getViewerColumn(event.index).getLabelProvider(); Object element = event.item.getData(); if (provider instanceof OwnerDrawLabelProvider) ((OwnerDrawLabelProvider) provider).measure(event, element);
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/CellLabelProvider.java
*            the element for which the tool tip is shown
	 * @return {@link Image} or <code>null</code> if there is not image.
	 */
	public Image getToolTipImage(Object object) {
		return null;
	}
	/**
	 * Returns the tool tip text for the given element and column index, or
	 * <code>null</code> if a custom tool tip should not be displayed.
	 * 
	 * @param element
	 *            the element for which the tool tip is shown
	 * @return the {@link String} to be displayed in the tool tip, or
	 *         <code>null</code> if a custom tool tip should not be displayed
	 */
	public String getToolTipText(Object element) {
		return null;
	}
	/**
	 * Return the background color used for the tool tip
	 * 
	 * @param object
	 *            the {@link Object} for which the tool tip is shown
	 * 
	 * @return the {@link Color} used or <code>null</code> if you want to use
	 *         the
	 */
	public Color getToolTipBackgroundColor(Object object) {
		return null;
	}