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/MarkerErrorTickProvider.java
package org.eclipse.jdt.internal.ui.viewsupport;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaModelMarker;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.core.ISourceReference;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.corext.util.JavaModelUtil;
/**
 * Used by the JavaElementLabelProvider to evaluate the error tick state of
 * an element.
 */
public class MarkerErrorTickProvider implements IErrorTickProvider {
	
	/*
	 * @see IErrorTickProvider#getErrorInfo
	 */
	public int getErrorInfo(IJavaElement element) {
		int info= 0;
		try {