Bug 186211 [Viewers] SWT/JFace: TreeViewer unable to show same image in different columns
Build ID: I20070503-1400 Steps To Reproduce: 1. see atached snippet 2. 3. More information: If the same image is returned by the label provider, the tree viewer shows the image only in the first column. A table viewer shows the image in all columns. If separate images are used for the first and for all following columns, it works.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewerRow.java
/*******************************************************************************
 * Copyright (c) 2006, 2007 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 for bug 174355, 171126
 *******************************************************************************/
package org.eclipse.jface.viewers;
import java.util.LinkedList;
import org.eclipse.core.runtime.Assert;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.swt.widgets.Widget;
/**
 * TreeViewerRow is the Tree implementation of ViewerRow.
 * @since 3.3
 * 
 */
public class TreeViewerRow extends ViewerRow {