Bug 453548

Summary: Copy/paste in diagram with retaining the layout
Product: [Modeling] Sirius Reporter: Olivier Haegi <olivier.haegi>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: maxime.porhel
Version: 2.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=491895
Whiteboard:

Description Olivier Haegi CLA 2014-11-28 11:49:37 EST
In a diragram, when we copy an element (without Paste tool), the layout is not copied. The layout is the default one (as on creation) and we lose the relative location of inner elements. It was nice if those relative locations was preserved.
Comment 1 Maxime Porhel CLA 2014-12-02 09:15:55 EST
We should look into the copy/paste layout mechanism and in the diagram initialization code which recopy the layout of the initial diagram when the new one is create thanks to a DiagramCreationDescription tool.