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
}
	public Image getToolTipImage(Object object) {
		return delegate.getToolTipImage(object);
	}
	public Point getToolTipShift(Object object) {
		return delegate.getToolTipShift(object);
	}
	public int getToolTipStyle(Object object) {
		return delegate.getToolTipStyle(object);
	}
	public String getToolTipText(Object element) {
		return delegate.getToolTipText(element);
	}
	public int getToolTipTimeDisplayed(Object object) {
		return delegate.getToolTipTimeDisplayed(object);
	}
	public boolean isLabelProperty(Object element, String property) {
		return delegate.isLabelProperty(element, property);
	}
	public void removeListener(ILabelProviderListener listener) {
		delegate.removeListener(listener);
	}
	public void update(ViewerCell cell) {
		delegate.update(cell);
	}
	public boolean useNativeToolTip(Object object) {
		return delegate.useNativeToolTip(object);
	}
}