public class DiagnosticConverterImpl extends 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 String |
getIssueCode(org.eclipse.emf.common.util.Diagnostic diagnostic) |
protected 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,
Object feature) |
public void convertResourceDiagnostic(org.eclipse.emf.ecore.resource.Resource.Diagnostic diagnostic,
Severity severity,
IAcceptor<Issue> acceptor)
IDiagnosticConverterconvertResourceDiagnostic in interface IDiagnosticConverterpublic void convertValidatorDiagnostic(org.eclipse.emf.common.util.Diagnostic diagnostic,
IAcceptor<Issue> acceptor)
IDiagnosticConverterconvertValidatorDiagnostic in interface IDiagnosticConverterprotected CheckType getIssueType(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected String[] getIssueData(org.eclipse.emf.common.util.Diagnostic diagnostic)
protected 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,
Object feature)
Copyright © 2015. All Rights Reserved.