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
/*******************************************************************************
 * Copyright (c) 2006, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *     Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation
 *                                               - fix in bug: 166346,167325,174355,195908,198035,215069
 *******************************************************************************/
package org.eclipse.jface.viewers;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Widget;
/**
 * ViewerRow is the abstract superclass of the part that represents items in a
 * Table or Tree. Implementors of {@link ColumnViewer} have to provide a
 * concrete implementation for the underlying widget
 * 
 * @since 3.3
 * 
 */
public abstract class ViewerRow implements Cloneable {