protected CellLabelProvider getCellLabelProvider(int idx) {
CellLabelProvider oldLabelProvider = viewer.getLabelProvider(idx);
// lets unwrap if we've added a wrapped provider already
if (oldLabelProvider instanceof WrappedCellLabelProvider) {
WrappedCellLabelProvider wrapped = (WrappedCellLabelProvider) oldLabelProvider;
oldLabelProvider = wrapped.getWrappedLabelProvider();
}
return oldLabelProvider;
}