Bug 481479 - Extracted .aird file not shown in modeling project
Summary: Extracted .aird file not shown in modeling project
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-11-05 04:15 EST by Niels Brouwers CLA
Modified: 2017-05-16 08:46 EDT (History)
2 users (show)

See Also:


Attachments
Example to reproduce (1.53 KB, application/zip)
2015-11-06 11:57 EST, Esteban DUGUEPEROUX CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Brouwers CLA 2015-11-05 04:15:00 EST
Steps to reproduce:
1. Create a modeling project
2. Create a semantic model in the modeling project
3. Select viewpoint
4. Create two diagram representations: Diagram1 and Diagram2
5. Right-click on Diagram2 from the representation file resource using the model explorer. Choose 'extract to aird file...'
6. Specify location and name for the new representation file to be created. Location is within the same project as the other representation file and semantic model.
7. Select Finish to complete the wizard.

Observations:
- The new representation file containing the extracted diagram is not shown in the project using the model explorer, nor using the Navigator view.
- When the diagram to be extracted is opened in a editor, the newly created representation file to which the diagram is extracted is shown when the diagram is saved (after becoming dirty)
- See 2nd observation. If the diagram is not opened by an editor, the representation file is shown immediately after the wizard is completed.

This issue seems to be solved easily by saving the extracted diagram after completing the wizard, which will probably initiate the creation of the representation file.
Comment 1 Esteban DUGUEPEROUX CLA 2015-11-06 11:57:45 EST
Created attachment 257792 [details]
Example to reproduce

I have attached an example project to reproduce based on "org.eclipse.sirius.sample.ecore.design" ecore modeler example.
I reproduce having an opened editor.
Comment 2 Niels Brouwers CLA 2017-05-09 02:44:21 EDT
Any update on this issue?
Comment 3 Pierre-Charles David CLA 2017-05-16 08:46:10 EDT
(In reply to Niels Brouwers from comment #2)
> Any update on this issue?

No, sorry. I can indeed still reproduced the issue, but we have not worked on this for now.