Bug 224428 [Viewers] Add set/getStyleRanges to ViewerRow
20080327 set/getStyleRenges are on ViewerCell, using the data element on the row to store the ranges. They use a private constant as key. As an implementor of a ViewerRow, you want to get access to the styled ranges. ViewerCell is not implementable. The correct way therefor would be to also add set/getStyleRenges to ViewerRow where implementors can use it or even override it (if their widget supports styled ranges)
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ViewerRow.java
* <b>Because of backwards API compatibility the default implementation
	 * returns the original index. Implementators of {@link ColumnViewer} should
	 * overwrite this method if their widget supports reordered columns</b>
	 * </p>
	 * 
	 * @param creationIndex
	 *            the original index
	 * @return the current index (as shown in the UI)
	 * @since 3.4
	 */
	protected int getVisualIndex(int creationIndex) {
		return creationIndex;
	}
	/**
	 * Translate the current column index (as shown in the UI) to the original
	 * one.
	 * <p>
	 * <b>Because of backwards API compatibility the default implementation
	 * returns the original index. Implementators of {@link ColumnViewer} should
	 * overwrite this method if their widget supports reordered columns</b>
	 * </p>
	 * 
	 * @param visualIndex
	 *            the current index (as shown in the UI)
	 * @return the original index
	 * @since 3.4
	 */
	protected int getCreationIndex(int visualIndex) {
		return visualIndex;
	}