Bug 15790 Java file icons too fat in editor tabs
Eclipse 20020508 All platforms 1) Open a .txt file. 2) Open a .java file Look at the space between the edge of the tab and the image and the edge of the image and the start of the text. The image used for *.java has extra space on the left and right edges. This is using up pixels that would be better used for displaying the file name.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaUILabelProvider.java
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
package org.eclipse.jdt.internal.ui.viewsupport;
import org.eclipse.core.resources.IStorage;
import org.eclipse.swt.graphics.Image;
import org.eclipse.jface.viewers.ILabelDecorator;
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jdt.ui.ProblemsLabelDecorator;
import org.eclipse.jdt.internal.ui.JavaPlugin;
public class JavaUILabelProvider extends LabelProvider {
	
	private JavaElementImageProvider fImageLabelProvider;
	private StorageLabelProvider fStorageLabelProvider;
	
	private ILabelDecorator[] fLabelDecorators;
	private int fImageFlags;
	private int fTextFlags;
	/**
	 * Creates a new label provider with default flags.
	 */
	public JavaUILabelProvider() {