Bug 499892 - Paste Layout should only modify a node height and/or width if authorized by the mapping style
Summary: Paste Layout should only modify a node height and/or width if authorized by t...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-08-18 05:57 EDT by Steve Monnier CLA
Modified: 2016-08-18 05:57 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 Steve Monnier CLA 2016-08-18 05:57:29 EDT
The Paste Layout functionality should only modify a node height and/or width if the mapping style authorize vertical and/or horizontal resize.

To reproduce:
- Create an odesign with 2 diagram description containing a node mapping.
- In diagram description A, have the horizontal and vertical resize allowed.
- In diagram description B, have the horizontal and vertical resize forbidden.
- Create a modeling project sample with a diagram A and a diagram B. 
- On diagram A, resize the nodes in various sizes and copy the layout.
- On diagram B, paste the layout.
=> The location of the node should be like on diagram A, but the size should remain unchanged.