package pt.uminho.haslab.echo.plugin;

import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;

public class EchoMarker {
	
	public final static String INTRA_ERROR = "pt.uminho.haslab.echo.plugin.intrainconsistency";
	public final static String INTER_ERROR = "pt.uminho.haslab.echo.plugin.interinconsistency";	
	
	public static IMarker createIntraMarker(IResource res) throws CoreException {
		IMarker mark = res.createMarker(EchoMarker.INTRA_ERROR);
		mark.setAttribute(IMarker.MESSAGE, "Model instance does not conform to the meta-model.");
		mark.setAttribute(IMarker.PRIORITY, IMarker.PRIORITY_NORMAL);
		mark.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);
		return mark;
	}
	
}

@@ -383,17 +383,100 @@
 ency%22;%09%0A
-%09
+%0A%09public final static String GED = %22ged%22;%0A%09public final static String OPS = %22ops%22;%09%0A
 %0A%09public

connect markers with quick fixes