Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318008 - [Profile Diagram] Extension management ? Ambiguous Naming Convention? When two extensions are created for a same stereotype, they get the same name.
Summary: [Profile Diagram] Extension management ? Ambiguous Naming Convention? When tw...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 318002 318007 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-25 11:42 EDT by alanusse Mising name CLA
Modified: 2010-11-15 05:51 EST (History)
0 users

See Also:


Attachments
Screen View Ambiguous naming of extensions in Profile Diagram (108.03 KB, application/octet-stream)
2010-06-25 11:44 EDT, alanusse Mising name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description alanusse Mising name CLA 2010-06-25 11:42:21 EDT
When two extensions are created for a same stereotype, they get the same name. This  leads to ambiguities in the model.
At least there should be a suffix using the BaseClassName (and number).

Reproducible: Always

Steps to Reproduce:
In a Stereotype Diagram.

1.Import two MetaClasses 
2.Create a Stereotype named  MyStereotype
3.Create an extension on each metaclass

Result : 
In outline we get two extensions named Extension_MyStereotype.

Suggestion : suffix extension name with baseClassName
Comment 1 alanusse Mising name CLA 2010-06-25 11:44:22 EDT
Created attachment 172771 [details]
Screen View Ambiguous naming of extensions in Profile Diagram
Comment 2 Vincent Lorenzo CLA 2010-06-28 11:53:43 EDT
I change the naming convention for the extension. This new convention looks like the association convention (cf page 18 from the UML Superstructure V2.2) : E_stereotypeName_metaclassName.
Comment 3 Vincent Lorenzo CLA 2010-06-29 04:53:00 EDT
To conclude the extension name is : 
E_stereotypeName_metaclassName, suffixed by a number.
Done in r2102
Comment 4 Vincent Lorenzo CLA 2010-07-27 08:33:47 EDT
*** Bug 318002 has been marked as a duplicate of this bug. ***
Comment 5 Vincent Lorenzo CLA 2010-11-15 05:51:37 EST
*** Bug 318007 has been marked as a duplicate of this bug. ***