Class CustomDiagnosticConverter
- java.lang.Object
-
- org.eclipse.xtext.validation.DiagnosticConverterImpl
-
- com._1c.g5.modeling.xtext.validation.CustomDiagnosticConverter
-
- All Implemented Interfaces:
org.eclipse.xtext.validation.IDiagnosticConverter
public class CustomDiagnosticConverter extends org.eclipse.xtext.validation.DiagnosticConverterImpl
Our extension ofDiagnosticConverterImpl
. Fixes a number of issues with base implementation.
-
-
Constructor Summary
Constructors Constructor Description CustomDiagnosticConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convertResourceDiagnostic(org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic, org.eclipse.xtext.diagnostics.Severity severity, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.validation.Issue> acceptor)
void
convertValidatorDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.validation.Issue> acceptor)
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)
-
-
-
Method Detail
-
convertResourceDiagnostic
public void convertResourceDiagnostic(org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic, org.eclipse.xtext.diagnostics.Severity severity, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.validation.Issue> acceptor)
- Specified by:
convertResourceDiagnostic
in interfaceorg.eclipse.xtext.validation.IDiagnosticConverter
- Overrides:
convertResourceDiagnostic
in classorg.eclipse.xtext.validation.DiagnosticConverterImpl
-
convertValidatorDiagnostic
public void convertValidatorDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.validation.Issue> acceptor)
- Specified by:
convertValidatorDiagnostic
in interfaceorg.eclipse.xtext.validation.IDiagnosticConverter
- Overrides:
convertValidatorDiagnostic
in classorg.eclipse.xtext.validation.DiagnosticConverterImpl
-
getLocationData
protected org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation getLocationData(org.eclipse.emf.common.util.Diagnostic diagnostic)
- Overrides:
getLocationData
in classorg.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 classorg.eclipse.xtext.validation.DiagnosticConverterImpl
-
-