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

Bug 315309

Summary: [Profile diagram] Not possible to add meta-class to diagram, if meta-class is already imported
Product: [Modeling] Papyrus Reporter: Ansgar Radermacher <ansgar.radermacher>
Component: CoreAssignee: Vincent Lorenzo <vincent.lorenzo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Patrick.Tessier
Version: unspecified   
Target Milestone: 0.7.0   
Hardware: PC   
OS: All   
Whiteboard:

Description Ansgar Radermacher CLA 2010-06-01 17:17:54 EDT
Build Identifier: Build id: 20100527-0614

Adding a meta-class to a diagram fails, if the meta-class is already imported. This is bug, since the same meta-class could appear in multiple diagram or even multiple times in the same diagram.


Reproducible: Always

Steps to Reproduce:
1. Open profile diagram
2. Import a meta-class, e.g. Class => appears in diagram
3. Create an additional diagram, import same meta-class => does not appear in diagram
Comment 1 Vincent Lorenzo CLA 2010-07-28 07:36:20 EDT
Done in r2498 for Branch 0.7.X

Now we can add a metaclass which is already imported, but now the Dialog doesn't allow removed imported metaclasses.

Removing imported metaclass can be done with Delete Selected Element in the model, selecting a Metaclass.
Comment 2 Vincent Lorenzo CLA 2010-07-29 09:54:11 EDT
Done in r2505 for the Head Branch.