Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 310596 - [Class diagram] ContainmentLink erroneous DND behavior
Summary: [Class diagram] ContainmentLink erroneous DND behavior
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: 2010-04-27 06:18 EDT by Yann Tanguy CLA
Modified: 2010-06-25 11:05 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 Yann Tanguy CLA 2010-04-27 06:18:28 EDT
If a package contains another one :

	P1
	|___ P2
	
In the diagram drag P2 outside P1, P1 is no more contained into P2 (semantically) by a ContainmentLink is added between P1 and P2.

This ContainmentLink should not appear as it is graphically inconsistent.

Either the DND results in moving the package, or it result in changing the containment representation from nested package to packages with containment link, but the behavior should not be a mix of these 2 possible behavior.
Comment 1 Yann Tanguy CLA 2010-04-27 06:40:36 EDT
(In reply to comment #0)
> If a package contains another one :
> 
> P1
> |___ P2
> 
> In the diagram drag P2 outside P1, P1 is no more contained into P2
> (semantically) by a ContainmentLink is added between P1 and P2.
> 
> This ContainmentLink should not appear as it is graphically inconsistent.
> 
> Either the DND results in moving the package, or it result in changing the
> containment representation from nested package to packages with containment
> link, but the behavior should not be a mix of these 2 possible behavior.

Also concern Class - NestedClassifier containment.
Comment 2 Remi Schnekenburger CLA 2010-06-09 06:36:07 EDT
This bug still exists.

Updated to target milestone 0.7.0
Comment 3 Yann Tanguy CLA 2010-06-25 11:05:30 EDT
Several bug are open related to the ContainmentLink behavior -> see Bug318000

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