Bug 288726 - [Class diagram] Papyrus shall define a default name for new created associations
Summary: [Class diagram] Papyrus shall define a default name for new created associations
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: M7   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard: UML 2.x diagrams
Keywords: plan, usability
Depends on:
Blocks:
 
Reported: 2009-09-07 05:24 EDT by Raphael Faudou CLA
Modified: 2014-04-04 09:39 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Faudou CLA 2009-09-07 05:24:13 EDT
By default, associations are named Association0, Association1...
It is very important that they take the name be initialized with "A" and the classifiers names as it is done in Eclipse UM2.
example : between Class1 and class2 it should be A_Class1_Class2
Comment 1 Remi Schnekenburger CLA 2010-06-09 06:38:12 EDT
The name is currently set as class1_class2. the name generator should be fixed to add "A_" before the name

udpated to target milestone 0.7.0
Comment 2 Ronan Bar CLA 2013-09-13 05:35:03 EDT
This issue still exists today in 0.10.0 That said i'm not sure I agree that the prefix A_ is required. It might be a convention in Eclipse UML2 but is it one in the UML 2 specification? The latter is the important specification.
Comment 3 Camille Letavernier CLA 2013-10-16 05:36:52 EDT
From UML 2.4 Superstructure, p18:

> Associations that are not explicitly named, are given names that are constructed according to the following production
> rule:
> "A_" <association-end-name1> "_" <association-end-name2>
Comment 4 Patrick Tessier CLA 2014-04-04 09:36:52 EDT
Done in the commit 693497b454c341987ae0cf8024532027d20d6f20