public static final class IErrorFeedback.EmptyErrorFeedback extends java.lang.Object implements IErrorFeedback
IErrorFeedback.EmptyErrorFeedback
FRAGMENT_ERROR_TYPE, JVMINFERENCE_ERROR_TYPE
Constructor and Description |
---|
EmptyErrorFeedback() |
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)
IErrorFeedback
clearMarkers
in interface IErrorFeedback
resource
- 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)
IErrorFeedback
reportError
in interface IErrorFeedback
errorCode
- 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)
IErrorFeedback
reportErrorNoLocation
in interface IErrorFeedback
errorCode
- 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)
IErrorFeedback
reportError
in interface IErrorFeedback
errorCode
- an arbitrary error codemarkerType
- IErrorFeedback.JVMINFERENCE_ERROR_TYPE
and IErrorFeedback.FRAGMENT_ERROR_TYPE
are supported