Package org.eclipse.xtext.xtext
Class XtextDiagnosticConverter
- java.lang.Object
-
- org.eclipse.xtext.validation.DiagnosticConverterImpl
-
- org.eclipse.xtext.xtext.XtextDiagnosticConverter
-
- All Implemented Interfaces:
IDiagnosticConverter
public class XtextDiagnosticConverter extends DiagnosticConverterImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl
DiagnosticConverterImpl.IssueLocation
-
-
Constructor Summary
Constructors Constructor Description XtextDiagnosticConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DiagnosticConverterImpl.IssueLocationgetLocationData(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature structuralFeature, int index)protected SeveritygetSeverity(org.eclipse.emf.common.util.Diagnostic diagnostic)protected booleanisMarkedAsIgnored(org.eclipse.emf.ecore.EObject object, java.lang.String code)-
Methods inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl
convertResourceDiagnostic, convertValidatorDiagnostic, getCauser, getIssueCode, getIssueData, getIssueType, getLocationData, getLocationData, getLocationForNode, getLocationForNode, resolveStructuralFeature
-
-
-
-
Method Detail
-
getLocationData
protected DiagnosticConverterImpl.IssueLocation getLocationData(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature structuralFeature, int index)
- Overrides:
getLocationDatain classDiagnosticConverterImpl- Returns:
- the location data for the given diagnostic.
-
getSeverity
protected Severity getSeverity(org.eclipse.emf.common.util.Diagnostic diagnostic)
- Overrides:
getSeverityin classDiagnosticConverterImpl
-
isMarkedAsIgnored
protected boolean isMarkedAsIgnored(org.eclipse.emf.ecore.EObject object, java.lang.String code)
-
-