Bug 6718 Error ticks on non-Java resources
This is a VAME request. They would like to show error ticks on manifest files.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementImageProvider.java
private boolean useSmallSize(int flags) {
		return (flags & SMALL_ICONS) != 0;
	}		
	/**
	 * Returns an image descriptor for a java element. The descriptor includes overlays, if specified.
	 */
	public ImageDescriptor getImageDescriptor(IJavaElement element, int flags) {
		int adornmentFlags= showOverlayIcons(flags) ? computeAdornmentFlags(element) : 0;
		Point size= useSmallSize(flags) ? SMALL_SIZE : BIG_SIZE;
		return new JavaElementImageDescriptor(getBaseImageDescriptor(element, flags), adornmentFlags, size);
	}
	
	
	
	/**
	 * Returns an image descriptor for a java element. This is the base image, no overlays.
	 */
	public ImageDescriptor getBaseImageDescriptor(IJavaElement element, int renderFlags) {
		try {
			
			switch (element.getElementType()) {
				
				case IJavaElement.INITIALIZER:
				case IJavaElement.METHOD:
				case IJavaElement.FIELD: {
					IMember member= (IMember) element;
					if (member.getDeclaringType().isInterface())
						return JavaPluginImages.DESC_MISC_PUBLIC;
					
					int flags= member.getFlags();