/** * <copyright> * </copyright> * * */ package robot.resource.robot; /** * An extended diagnostic that gives access to the exact position of the problem * in a character stream. */ public interface IRobotTextDiagnostic extends org.eclipse.emf.ecore.resource.Resource.Diagnostic { /** * Returns the position of the first character of the problem area. */ public int getCharStart(); /** * Returns the position of the last character of the problem area. */ public int getCharEnd(); /** * Returns the column of the problem area. */ public int getColumn(); /** * Returns the line that contains the problem area. */ public int getLine(); /** * Returns the problem that was found. */ public robot.resource.robot.IRobotProblem getProblem(); /** * Checks whether the problem was caused by the given element. * * @return true if the problem was caused by <code>element</code> */ public boolean wasCausedBy(org.eclipse.emf.ecore.EObject element); }