Bug 518133

Summary: Improve documentation of container drop tool
Product: [Modeling] Sirius Reporter: Pierre Guilet <pierre.guilet>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: maxime.porhel
Version: 5.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:

Description Pierre Guilet CLA 2017-06-12 10:19:49 EDT
The documentation of the diagram tool "container drop" does not cover all usages and is not enough precise.

Indeed the documentation does not tell user that the container mapping must have a sub mapping that is the same as the one source of the drag and drop.

Also the mappings property must be filled differently when source mapping differs or not from container sub mapping.

If source mapping is also present as sub mapping in target container mapping, the drag and drop works.
If they are different, the mappings property of the tool must be filled with both source mapping and the sub mapping.

The only case where it does not work if where source mapping and target submapping have not the same type.