Bug 433304

Summary: Copy/Paste copies the models, but not the aird data
Product: [Modeling] Ecoretools Reporter: Aleksandar Toshovski <balex4o>
Component: GeneralAssignee: Project Inbox <ecore-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cedric.brun
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Aleksandar Toshovski CLA 2014-04-23 09:39:31 EDT
Select from the editor some classes and press CTRL+C and paste it in other ecore diagram editor. The the model is copied in the .ecore file, but in the .aird file there is no information. 

In Show/Hide elements are the copied elements also not visible.
Comment 1 Cedric Brun CLA 2014-06-25 05:26:25 EDT
Thats right I reproduced it with EcoreTools 2.0.0 and the steps you gave.

To fix this we can either make Sirius have this behavior by default or define a specific copy/paste tool for EcoreTools, I know it has been done in UML Designer already.

We'll try to fix that pretty soon.

Thanks for your feedback.
Comment 2 Cedric Brun CLA 2014-06-25 05:26:54 EDT
Thats right I reproduced it with EcoreTools 2.0.0 and the steps you gave.

To fix this we can either make Sirius have this behavior by default or define a specific copy/paste tool for EcoreTools, I know it has been done in UML Designer already.

We'll try to fix that pretty soon.

Thanks for your feedback.
Comment 3 Cedric Brun CLA 2014-06-26 10:33:11 EDT
a fix made its way to the git repository : http://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/commit/?id=a58dd0fb093b6b5ddd18407b6e6b61c4c36be293
Comment 4 Cedric Brun CLA 2014-06-26 10:48:56 EDT
A build fixing this issue is available either through this update site :

http://download.eclipse.org/ecoretools/updates/nightly/2.0.x/luna

Or by using the "Install Modeling Components" wizard available in the "Help" menu and selecting "EcoreTools (Updates)"

Feel free to reopen if this fix is not working for you for some reasons. And thanks again !