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

Bug 458229

Summary: DiagramEnvironment.xmi not referencable
Product: [Modeling] Sirius Reporter: Esteban DUGUEPEROUX <esteban.dugueperoux>
Component: DiagramAssignee: Esteban DUGUEPEROUX <esteban.dugueperoux>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: belqassim.djafer, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 2.0.4   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 457355    
Bug Blocks:    

Description Esteban DUGUEPEROUX CLA 2015-01-23 04:53:45 EST
+++ This bug was initially created as a clone of Bug #457355 +++

From Bug 427803, i.e. split of diagram dialect in its own plugins, content of Environment.xmi has been splitted into 2 resources :

- platform:/plugin/org.eclipse.sirius/model/Environment.xmi containing systems colors and a label border style
- platform:/plugin/org.eclipse.sirius.diagram/model/DiagramEnvironment.xmi containing pin/unpin ExternalJavaActions

The first resource is mapped to "environment:/viewpoint" uri and the second to "environment:/diagram" uri.

"environment:/viewpoint" is added to each ResourceSet of Session to have access to system colors but since the split pin/unpin ExternalJavaActions are not accessible by default.

This is a minimized backport of https://git.eclipse.org/r/#/c/39504/  to allow backport of 457349
Comment 1 Esteban DUGUEPEROUX CLA 2015-01-23 06:10:27 EST
https://git.eclipse.org/r/40220 for the backport as been merged as 6c1f9d5da60d347380a6f39d4d2c30099dde86bb on branch v2.0.x
Comment 2 Belqassim Djafer CLA 2015-02-12 04:27:04 EST
The Environment.xmi has been splitted into 2 resources : ...Environment.xmi and ...org.eclipse.sirius.diagram.ui/model/DiagramEnvironment.xmi instead ...org.eclipse.sirius.diagram/model/DiagramEnvironment.xmi
Comment 3 Belqassim Djafer CLA 2015-02-12 04:28:51 EST
Validated on Sirius Stable 2.0.4-S20150206-085250
Comment 4 Pierre-Charles David CLA 2015-02-12 04:29:53 EST
Validated by Belqassim.
Comment 5 Pierre-Charles David CLA 2015-02-12 07:54:59 EST
Available in Sirius 2.0.4.