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/ViewerLabelProvider.java
/**
	 * The {@link SWT} style used to create the {@link CLabel} (see there for supported styles). 
	 * By default {@link SWT#SHADOW_NONE} is used.
	 * 
	 * @param object
	 *            the element for which the tool tip is shown
	 * @return int
	 * @see CLabel
	 */
	public int getToolTipStyle(Object object) {
		return SWT.SHADOW_NONE;
	}
	/**
	 * Update the label for cell.
	 * 
	 * @param cell {@link ViewerCell}
	 */
	public void update(ViewerCell cell) {
		ViewerLabel label = new ViewerLabel(cell.getText(), cell.getImage());
		updateLabel(label, cell);
		cell.setBackground(label.getBackground());
		cell.setForeground(label.getForeground());
		cell.setFont(label.getFont());
		if (label.hasNewText())
			cell.setText(label.getText());
		if (label.hasNewImage())
			cell.setImage(label.getImage());
	}
}