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

Bug 437393

Summary: Incorrect layers creation menus
Product: [Modeling] Sirius Reporter: Frederic Madiot <frederic.madiot>
Component: DiagramAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: maxime.porhel
Version: 1.0.0Keywords: triaged
Target Milestone: 2.0.0   
Hardware: PC   
OS: Windows 7   
Whiteboard: trivial
Bug Depends on:    
Bug Blocks: 441055    

Description Frederic Madiot CLA 2014-06-13 12:15:34 EDT
The two menus to create layers are : "Default layer Layer" and "Optional Layers Optional Layer"
Comment 1 Alex Lagarde CLA 2014-06-19 08:30:51 EDT
Issue reproduced.

plugin.properties file must be updated accordingly. This is a trivial issue, but all tests must be run after the modification to make sure that this does not lead to regression in VSM tests.
Comment 2 Maxime Porhel CLA 2014-07-28 11:21:25 EDT
See https://git.eclipse.org/r/30609

We have to modify the item providers and not the plugin.properties as there are several not-generated modified methods in which the Layer creation menu label computation is customized.
Comment 3 Maxime Porhel CLA 2014-08-04 05:12:34 EDT
The new patch set also remove the default layer creation on DiagramImportDescription as the DiagramImportdescriptionSpec.getDefaultLayer return the imported diagram description's default layer or null.
Comment 4 Maxime Porhel CLA 2014-08-04 10:17:45 EDT
Corrected on master by 0d3a50f97a5eaef1ea6c20f3f02e57621921b63a
Comment 5 Pierre-Charles David CLA 2014-10-27 06:52:14 EDT
Available in Sirius 2.0.0.