Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 297418 - [Class diagram] ContainmentLink: need for a command for deleting from model
Summary: [Class diagram] ContainmentLink: need for a command for deleting from model
Status: RESOLVED DUPLICATE of bug 318000
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: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 290684
  Show dependency tree
 
Reported: 2009-12-09 20:18 EST by Sébastien Gérard CLA
Modified: 2010-06-25 11:10 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 Sébastien Gérard CLA 2009-12-09 20:18:37 EST
Currently it is not possible to make a "Delete from model" on a containment link. It should be possible.
Comment 1 Remi Schnekenburger CLA 2010-06-09 06:31:24 EDT
The action is present, but seems to have some bugs:
- the link is not graphically removed, even if the model has been modified.
- class cast exception when trying to remove the containment link from a owner class to a owned interface.

updated target milestone to 0.7.0
Comment 2 Yann Tanguy CLA 2010-06-25 11:10:29 EDT
Several bug are open related to the ContainmentLink behavior -> see Bug318000

"Delete from model" should not be allowed for ContainmentLink, it means nothing (cannot delete the containment relationship -> this would create orphan element)

*** This bug has been marked as a duplicate of bug 318000 ***