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 ImageDescriptorRegistry fRegistry;
	private IErrorTickProvider fErrorTickProvider;
		
	public JavaElementImageProvider() {
		fRegistry= JavaPlugin.getImageDescriptorRegistry();
	}
	
	public void setErrorTickProvider(IErrorTickProvider provider) {
		fErrorTickProvider= provider;
	}
		
	/**
	 * Returns the icon for a given Java elements. The icon depends on the element type
	 * and element properties. If configured, overlay icons are constructed for
	 * <code>ISourceReference</code>s.
	 * @param flags Flags as defined by the JavaImageLabelProvider
	 */
	public Image getImageLabel(IJavaElement element, int flags) {
		ImageDescriptor descriptor= getImageDescriptor(element, flags);
		return fRegistry.get(descriptor);
	}
	
	private boolean showOverlayIcons(int flags) {
		return (flags & OVERLAY_ICONS) != 0;
	}
	
	private boolean useLightIcons(int flags) {
		return (flags & LIGHT_TYPE_ICONS) != 0;
	}