Bug 87089 [Viewers] LabelProvider.getImage is not invoked after the TreeViewer changes introduced on 24/01/2005
If you compare the versions 1.26 and 1.25 of the method doUpdateItem(Item item, Object element) in org.eclipse.jface.viewers.TreeViewer, you will notice a change in the way the image of the element is calculated. In 1.25, the image of the Element is set in the "buildLabel" method which doesn't have a special treatment for ITableLabelProvider. In 1.26, if the label provider is a ITableLabelProvider, instead of calling ILabelProvider.getImage(Object), the code always invokes ITableLabelProvider.getColunmImage(Object). This change has broken the icons on one of the EMF generated editors (the mapping editor) as the images I will attach here demostrate.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
* Method declared in StructuredViewer.
     */
    protected Item getItem(int x, int y) {
        return getTree().getItem(getTree().toControl(new Point(x, y)));
    }
    /* (non-Javadoc)
     * Method declared in AbstractTreeViewer.
     */
    protected int getItemCount(Control widget) {
        return ((Tree) widget).getItemCount();
    }
    /* (non-Javadoc)
     * Method declared in AbstractTreeViewer.
     */
    protected int getItemCount(Item item) {
        return ((TreeItem) item).getItemCount();
    }
    /* (non-Javadoc)
     * Method declared in AbstractTreeViewer.
     */
    protected Item[] getItems(Item item) {
        return ((TreeItem) item).getItems();
    }
    /**
	 * The tree viewer implementation of this <code>Viewer</code> framework
	 * method ensures that the given label provider is an instance of either
	 * <code>ITableLabelProvider</code> or <code>ILabelProvider</code>. If
	 * it is an <code>ITableLabelProvider</code>, then it provides a separate
	 * label text and image for each column. If it is an
	 * <code>ILabelProvider</code>, then it provides only the label text and