Community
Participate
Working Groups
During the diagram validation, markers are created from the error diagnostics. Unfortunately, all the diagnostic information are not reported into the marker attributes map. I would be nice to also have the diagnostic code attribute from org.eclipse.emf.common.util.BasicDiagnostic. Markers are created in org.eclipse.sirius.diagram.ui.tools.internal.marker.SiriusMarkerNavigationProviderSpec.addMarker(IFile, String, String, String, String, String, int).
org.eclipse.sirius.diagram.ui.part.ValidateAction call the SiriusMarkerNavigationProviderSpec from Diagnostic and from IStatus which also has a source specific int code attribute.