org.eclipse.emf.ecore.xcore.validation
Class XcoreDiagnosticConverter
java.lang.Object
org.eclipse.xtext.validation.DiagnosticConverterImpl
org.eclipse.xtext.xtext.XtextDiagnosticConverter
org.eclipse.emf.ecore.xcore.validation.XcoreDiagnosticConverter
- All Implemented Interfaces:
- org.eclipse.xtext.validation.IDiagnosticConverter
public class XcoreDiagnosticConverter
- extends org.eclipse.xtext.xtext.XtextDiagnosticConverter
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl |
org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation |
Methods inherited from class org.eclipse.xtext.xtext.XtextDiagnosticConverter |
getLocationData |
Methods inherited from class org.eclipse.xtext.validation.DiagnosticConverterImpl |
convertResourceDiagnostic, getLocationData, getLocationForNode, resolveStructuralFeature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XcoreDiagnosticConverter
public XcoreDiagnosticConverter()
isEcoreConstraint
protected boolean isEcoreConstraint(Diagnostic diagnostic)
isEObjectConstraint
protected boolean isEObjectConstraint(Diagnostic diagnostic)
convertValidatorDiagnostic
public void convertValidatorDiagnostic(Diagnostic diagnostic,
org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.validation.Issue> acceptor)
- Specified by:
convertValidatorDiagnostic
in interface org.eclipse.xtext.validation.IDiagnosticConverter
- Overrides:
convertValidatorDiagnostic
in class org.eclipse.xtext.validation.DiagnosticConverterImpl
getLocationData
protected org.eclipse.xtext.validation.DiagnosticConverterImpl.IssueLocation getLocationData(Diagnostic diagnostic)
- Overrides:
getLocationData
in class org.eclipse.xtext.validation.DiagnosticConverterImpl
getCauser
protected EObject getCauser(EObject eObject)
getCauser
protected EObject getCauser(Diagnostic diagnostic)
- Overrides:
getCauser
in class org.eclipse.xtext.validation.DiagnosticConverterImpl