Bug 157174 [Viewers] Refactor new Viewer API
We are yet not completely happy with the API and refactor it.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableColumnViewerLabelProvider.java
*/
	public void updateLabel(ViewerLabel label, ViewerCell cell) {
		Object element = cell.getElement();
		int index = cell.getColumnIndex();
		if (tableLabelProvider == null) {
			label.setText(getLabelProvider().getText(element));
			label.setImage(getLabelProvider().getImage(element));
		} else {
			label.setText(tableLabelProvider.getColumnText(element, index));
			label.setImage(tableLabelProvider.getColumnImage(element, index));
		}
		if (tableColorProvider == null) {
			if (getColorProvider() != null) {
				label.setBackground(getColorProvider().getBackground(element));
				label.setForeground(getColorProvider().getForeground(element));
			}
		} else {
			label.setBackground(tableColorProvider
					.getBackground(element, index));
			label.setForeground(tableColorProvider
					.getForeground(element, index));
		}
		if (tableFontProvider == null) {
			if (getFontProvider() != null)
				label.setFont(getFontProvider().getFont(element));
		} else
			label.setFont(tableFontProvider.getFont(element, index));
	}
}