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

Bug 528024

Summary: [Aird editor] The ability to add local models by D&D should check that all semantic resource are locals
Product: [Modeling] Sirius Reporter: Steve Monnier <steve.monnier>
Component: CoreAssignee: Steve Monnier <steve.monnier>
Status: CLOSED FIXED QA Contact: Maxime Porhel <maxime.porhel>
Severity: normal    
Priority: P3 CC: julien.dupont, laurent.fasani, maxime.porhel, pierre-charles.david
Version: 5.1.0Keywords: triaged
Target Milestone: 5.1.1   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/112719
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=00e3a30436417effb43dc1aaf468fc371c9bf3bf
Whiteboard:
Attachments:
Description Flags
samples none

Description Steve Monnier CLA 2017-12-01 11:14:17 EST
It is possible to add a local model to a session by D&D in the aird editor. However, we should authorize this action only if each models are local (platform resource).
Comment 1 Steve Monnier CLA 2017-12-01 11:15:01 EST
Created attachment 271742 [details]
samples
Comment 2 Julien Dupont CLA 2017-12-01 11:16:52 EST
Could you add an use case and a step to reproduce please?
Comment 3 Steve Monnier CLA 2017-12-01 11:17:43 EST
Validation:
- import the 2 projects from the attached archive
- open the session editor of the test_ecore project
- select the semantic model test_ecore2 in the Model explorer view
- drag and drop it to the aird editor (of test_ecore)
-> The model should be added to the test_ecore session
Comment 4 Eclipse Genie CLA 2017-12-01 11:28:16 EST
New Gerrit change created: https://git.eclipse.org/r/112719
Comment 6 Maxime Porhel CLA 2018-01-09 04:03:48 EST
Validated on Sirius 5.1.1-rc2
Comment 7 Pierre-Charles David CLA 2018-02-01 03:25:34 EST
Available in Sirius 5.1.1. See https://wiki.eclipse.org/Sirius/5.1.1 for details.