Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325013 - [Element Edit Service] Add a relationship delete command when its source or target list becomes empty during a delete command
Summary: [Element Edit Service] Add a relationship delete command when its source or t...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 324966
  Show dependency tree
 
Reported: 2010-09-10 17:07 EDT by Yann Tanguy CLA
Modified: 2013-09-09 12:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2010-09-10 17:07:13 EDT
Add a relationship delete command when its source or target list becomes empty during a delete command.

(remove the NamedElement from source / target of relationship, and customize the getDestroyReferenceCommand in dependency EditHelper to detect when source / target list becomes empty -> delete the relationship in this case)
Comment 1 Yann Tanguy CLA 2011-02-03 04:28:51 EST
In r3878 (0.8.0M4 Indigo):
- Added as NamedElement advice that acts on DirectedRelationship links.
Comment 2 Camille Letavernier CLA 2013-09-09 12:07:26 EDT
> - Added as NamedElement advice that acts on DirectedRelationship links.

I close this task