Bug 305128 - [All Diagram] Provide a feature to transform a model element to another
Summary: [All Diagram] Provide a feature to transform a model element to another
Status: REOPENED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 0.8.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 06:09 EST by Emilien Perico CLA
Modified: 2013-10-10 14:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilien Perico CLA 2010-03-09 06:09:28 EST
It would be useful if the user could transform a model element to another, according to its derived element. Sometimes the user created an element and want to change it. 

The feature should change the element in the model and graphically, keeping the same common properties.
Comment 1 Emilien Perico CLA 2010-03-12 10:12:32 EST
implemented. The action is available on model explorer view. 
Remaining task: Add it to the graphical editor
Comment 2 Yann Tanguy CLA 2010-07-21 13:03:19 EDT
Possible regression in "new" model explorer.
Comment 3 Tristan Faure CLA 2012-03-14 08:58:06 EDT
the new model explorer is now managed
Comment 4 Tristan Faure CLA 2012-03-15 10:47:45 EDT
disable the feature and wait more advanced test
Comment 5 Toni Siljamäki CLA 2013-10-10 08:28:16 EDT
Should what is requested really be supported?
Sounds quite risky, like anything can go wrong...
Comment 6 Sébastien Gérard CLA 2013-10-10 08:34:59 EDT
Hi Toni,

here the idea is to provide a kind of "refactoring" action, e.g. transforming a class into an interface and vice-versa, or a signal into datatype and vice versa, a package into a model and vice-versa, etc.

Séb
Comment 7 Toni Siljamäki CLA 2013-10-10 14:09:30 EDT
OK. Phew... :)