Bug 111885 [decorators] info if class or interface is in file
Currently the package explorer (and other widgets showing file lists) show a small 'J' icon for java files. It would be useful if this was one symbol for classes, and another for interfaces. The choice would be made based on the public class/interface in the file. I frequently have a class and interface of the same name in different packages, and it's hard to tell the difference.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaPluginImages.java
}
	
	/*
	 * Helper method to access the image registry from the JavaPlugin class.
	 */
	 static ImageRegistry getImageRegistry() {
		if (fgImageRegistry == null) {
			fgImageRegistry= new ImageRegistry();
			for (Iterator iter= fgAvoidSWTErrorMap.keySet().iterator(); iter.hasNext();) {
				String key= (String) iter.next();
				fgImageRegistry.put(key, (ImageDescriptor) fgAvoidSWTErrorMap.get(key));
			}
			fgAvoidSWTErrorMap= null;
		}
		return fgImageRegistry;
	}
	
	private static void setImageDescriptors(IAction action, String type, String relPath) {
		ImageDescriptor id= create("d" + type, relPath, false); 
		if (id != null)
			action.setDisabledImageDescriptor(id);
	
		/*
		 * id= create("c" + type, relPath, false); 
		 * if (id != null)
		 * 		action.setHoverImageDescriptor(id);
		 */
	
		ImageDescriptor descriptor= create("e" + type, relPath, true); 
		action.setHoverImageDescriptor(descriptor);