Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 447234

Summary: Diagram print doesnt works for diagram not stored in XMLResource
Product: [Modeling] Sirius Reporter: Esteban DUGUEPEROUX <esteban.dugueperoux>
Component: DiagramAssignee: Esteban DUGUEPEROUX <esteban.dugueperoux>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pierre-charles.david
Version: unspecifiedKeywords: triaged
Target Milestone: 2.0.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Esteban DUGUEPEROUX CLA 2014-10-15 04:18:55 EDT
Since Sirius diagram dialect is based on GMF and this last use XMLResource's id to have unique id for a diagram, the diagram print doesn't works as expected.

For example, if you use InMemoryResourceImpl, which doesn't inherit of XMLResource, to store diagrams and have several diagrams opened, only the first diagram will be printed and several times if you have selected several diagrams to print.
Comment 1 Esteban DUGUEPEROUX CLA 2014-10-15 04:23:14 EDT
https://git.eclipse.org/r/#/c/34853/ has been proposed to fix that.
Comment 2 Esteban DUGUEPEROUX CLA 2014-10-15 06:06:21 EDT
Use https://git.eclipse.org/r/#/c/34912/ instead.
Comment 3 Esteban DUGUEPEROUX CLA 2014-10-16 11:13:35 EDT
Fixed as 20f1920119ae4b9025940e92a24171c19a32f6d5
Comment 4 Esteban DUGUEPEROUX CLA 2014-10-16 11:19:57 EDT
Fixed.
Comment 5 Pierre-Charles David CLA 2014-10-27 06:52:37 EDT
Available in Sirius 2.0.0.