public final class ResourceDiagnosticFeedback extends java.lang.Object implements IErrorFeedback
FRAGMENT_ERROR_TYPE, JVMINFERENCE_ERROR_TYPE| Constructor and Description |
|---|
ResourceDiagnosticFeedback() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearMarkers(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.String markerType)
Clears all problem markers from the resource and all its descendants.
|
void |
reportError(org.eclipse.emf.ecore.EObject ctx,
java.lang.String message,
java.lang.String errorCode,
org.eclipse.xtext.diagnostics.Severity severity,
java.lang.String markerType)
Reports an error in a context object.
|
void |
reportError(org.eclipse.emf.ecore.resource.Resource file,
java.lang.String message,
java.lang.String errorCode,
org.eclipse.xtext.diagnostics.Severity severity,
java.lang.String markerType)
Reports an error in a file, but is not associated to any specific line.
|
void |
reportErrorNoLocation(org.eclipse.emf.ecore.EObject ctx,
java.lang.String message,
java.lang.String errorCode,
org.eclipse.xtext.diagnostics.Severity severity,
java.lang.String markerType)
Reports an error in a context object.
|
public void clearMarkers(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.String markerType)
IErrorFeedbackclearMarkers in interface IErrorFeedbackresource - a file, folder or project to clean all markers frommarkerType - IErrorFeedback.JVMINFERENCE_ERROR_TYPE and IErrorFeedback.FRAGMENT_ERROR_TYPE are supportedpublic void reportError(org.eclipse.emf.ecore.EObject ctx,
java.lang.String message,
java.lang.String errorCode,
org.eclipse.xtext.diagnostics.Severity severity,
java.lang.String markerType)
IErrorFeedbackreportError in interface IErrorFeedbackerrorCode - an arbitrary error codemarkerType - IErrorFeedback.JVMINFERENCE_ERROR_TYPE and IErrorFeedback.FRAGMENT_ERROR_TYPE are supportedpublic void reportErrorNoLocation(org.eclipse.emf.ecore.EObject ctx,
java.lang.String message,
java.lang.String errorCode,
org.eclipse.xtext.diagnostics.Severity severity,
java.lang.String markerType)
IErrorFeedbackreportErrorNoLocation in interface IErrorFeedbackerrorCode - an arbitrary error codemarkerType - IErrorFeedback.JVMINFERENCE_ERROR_TYPE and IErrorFeedback.FRAGMENT_ERROR_TYPE are supportedpublic void reportError(org.eclipse.emf.ecore.resource.Resource file,
java.lang.String message,
java.lang.String errorCode,
org.eclipse.xtext.diagnostics.Severity severity,
java.lang.String markerType)
IErrorFeedbackreportError in interface IErrorFeedbackerrorCode - an arbitrary error codemarkerType - IErrorFeedback.JVMINFERENCE_ERROR_TYPE and IErrorFeedback.FRAGMENT_ERROR_TYPE are supported