Bug 471552

Summary: Add all diagnostic information in markers during diagram validation
Product: [Modeling] Sirius Reporter: Nathalie Lepine <nathalie.lepine>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: maxime.porhel, pierre-charles.david
Version: 3.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nathalie Lepine CLA 2015-07-01 05:15:52 EDT
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).
Comment 1 Maxime Porhel CLA 2015-07-01 06:05:25 EDT
org.eclipse.sirius.diagram.ui.part.ValidateAction call the SiriusMarkerNavigationProviderSpec from Diagnostic and from IStatus which also has a source specific int code attribute.