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
/**
	 * The location and bounds of the area where the text is drawn depends on
	 * various things (image displayed, control with SWT.CHECK)
	 * 
	 * @param index
	 *            the column index
	 * @return the bounds of the of the text area. May return <code>null</code>
	 *         if the underlying widget implementation doesn't provide this
	 *         information
	 * @since 3.4
	 */
	public Rectangle getTextBounds(int index) {
		return null;
	}
	
	/**
	 * Returns the location and bounds of the area where the image is drawn.
	 * 
	 * @param index
	 *            the column index
	 * @return the bounds of the of the image area. May return <code>null</code>
	 *         if the underlying widget implementation doesn't provide this
	 *         information
	 * @since 3.4
	 */
	public Rectangle getImageBounds(int index) {
		return null;
	}
}