public class DiagnosticConverterImpl extends java.lang.Object implements IDiagnosticConverter
Modifier and Type | Class and Description |
---|---|
protected static class |
DiagnosticConverterImpl.IssueLocation |
Constructor and Description |
---|
DiagnosticConverterImpl() |
Modifier and Type | Method and Description |
---|---|
void |
convertResourceDiagnostic(org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic,
Severity severity,
IAcceptor<Issue> acceptor)
Convert a resource diagnostic to zero, one or more markers.
|
void |
convertValidatorDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic,
IAcceptor<Issue> acceptor)
Convert a validation diagnostic to zero, one or more markers.
|
protected org.eclipse.emf.ecore.EObject |
getCauser(org.eclipse.emf.common.util.Diagnostic diagnostic) |
protected java.lang.String |
getIssueCode(org.eclipse.emf.common.util.Diagnostic diagnostic) |
protected java.lang.String[] |
getIssueData(org.eclipse.emf.common.util.Diagnostic diagnostic) |
protected CheckType |
getIssueType(org.eclipse.emf.common.util.Diagnostic diagnostic) |
protected DiagnosticConverterImpl.IssueLocation |
getLocationData(org.eclipse.emf.common.util.Diagnostic diagnostic) |
protected DiagnosticConverterImpl.IssueLocation |
getLocationData(org.eclipse.emf.ecore.EObject obj,
org.eclipse.emf.ecore.EStructuralFeature structuralFeature) |
protected DiagnosticConverterImpl.IssueLocation |
getLocationData(org.eclipse.emf.ecore.EObject obj,
org.eclipse.emf.ecore.EStructuralFeature structuralFeature,
int index) |
protected DiagnosticConverterImpl.IssueLocation |
getLocationForNode(INode node) |
protected Severity |
getSeverity(org.eclipse.emf.common.util.Diagnostic diagnostic) |
protected org.eclipse.emf.ecore.EStructuralFeature |
resolveStructuralFeature(org.eclipse.emf.ecore.EObject ele,
java.lang.Object feature) |
public void convertResourceDiagnostic(org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic, Severity severity, IAcceptor<Issue> acceptor)
IDiagnosticConverter
convertResourceDiagnostic
in interface IDiagnosticConverter
public void convertValidatorDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic, IAcceptor<Issue> acceptor)
IDiagnosticConverter
convertValidatorDiagnostic
in interface IDiagnosticConverter
protected CheckType getIssueType(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected java.lang.String[] getIssueData(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected java.lang.String getIssueCode(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected Severity getSeverity(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected org.eclipse.emf.ecore.EObject getCauser(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected DiagnosticConverterImpl.IssueLocation getLocationData(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected DiagnosticConverterImpl.IssueLocation getLocationData(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
protected DiagnosticConverterImpl.IssueLocation getLocationData(org.eclipse.emf.ecore.EObject obj, org.eclipse.emf.ecore.EStructuralFeature structuralFeature, int index)
protected DiagnosticConverterImpl.IssueLocation getLocationForNode(INode node)
protected org.eclipse.emf.ecore.EStructuralFeature resolveStructuralFeature(org.eclipse.emf.ecore.EObject ele, java.lang.Object feature)