Class CustomDiagnosticConverter

  • All Implemented Interfaces:
    org.eclipse.xtext.validation.IDiagnosticConverter

    public class CustomDiagnosticConverter
    extends org.eclipse.xtext.validation.DiagnosticConverterImpl
    Our extension of DiagnosticConverterImpl. Fixes a number of issues with base implementation.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl

        org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation getLocationData​(org.eclipse.emf.common.util.Diagnostic diagnostic)  
      protected org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation getLocationData​(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature feature, int index)  
      • Methods inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl

        convertResourceDiagnostic, convertValidatorDiagnostic, getCauser, getIssueCode, getIssueData, getIssueType, getLocationData, getLocationForNode, getSeverity, resolveStructuralFeature
    • Constructor Detail

      • CustomDiagnosticConverter

        public CustomDiagnosticConverter()
    • Method Detail

      • getLocationData

        protected org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation getLocationData​(org.eclipse.emf.common.util.Diagnostic diagnostic)
        Overrides:
        getLocationData in class org.eclipse.xtext.validation.DiagnosticConverterImpl
      • getLocationData

        protected org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation getLocationData​(org.eclipse.emf.ecore.EObject obj,
                                                                                                     org.eclipse.emf.ecore.EStructuralFeature feature,
                                                                                                     int index)
        Overrides:
        getLocationData in class org.eclipse.xtext.validation.DiagnosticConverterImpl