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/DelegatingCellLabelProvider.java
CellLabelProvider delegate;
	/**
	 * @param delegate
	 */
	public DelegatingCellLabelProvider(CellLabelProvider delegate) {
		this.delegate = delegate;
	}
	public void addListener(ILabelProviderListener listener) {
		delegate.addListener(listener);
	}
	public void dispose() {
		
	}
	public Color getToolTipBackgroundColor(Object object) {
		return delegate.getToolTipBackgroundColor(object);
	}
	public int getToolTipDisplayDelayTime(Object object) {
		return delegate.getToolTipDisplayDelayTime(object);
	}
	public Font getToolTipFont(Object object) {
		return delegate.getToolTipFont(object);
	}
	public Color getToolTipForegroundColor(Object object) {
		return delegate.getToolTipForegroundColor(object);