Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318275 - [Profile Diagram]Extension name modification must be preserved after a retarget
Summary: [Profile Diagram]Extension name modification must be preserved after a retarget
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: 0.7.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 318583
Blocks:
  Show dependency tree
 
Reported: 2010-06-29 02:52 EDT by Vincent Lorenzo CLA
Modified: 2010-07-01 07:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2010-06-29 02:52:26 EDT
Currently, a user can edit the extension name, but if the user changes the source or the target of this extension, this custom name is erased.
The same problem exists if the name of the stereotype changes.
Comment 1 Vincent Lorenzo CLA 2010-06-29 02:56:05 EDT
To see if the name has been change, I use the roles of the extension base_extendedMetaclassName and extension_stereotypeName. These values are derived from the ends.
Comment 2 Vincent Lorenzo CLA 2010-06-29 03:40:16 EDT
Another method is to do : extension.getMetaclass().getName() and extension.getStereotype().getName(). After we can compare these values with the current name to know if the same was edited by the user.
Comment 3 Vincent Lorenzo CLA 2010-06-29 04:53:21 EDT
Done in r2102