Bug 471552 - Add all diagnostic information in markers during diagram validation
Summary: Add all diagnostic information in markers during diagram validation
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-07-01 05:15 EDT by Nathalie Lepine CLA
Modified: 2016-04-11 08:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.