| Summary: | [Model Browser] drag & drop | ||
|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Nicolas Bros <nicolas.bros> |
| Component: | Infrastructure | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox |
| Version: | 0.9.0 | Flags: | nicolas.bros:
indigo+
|
| Target Milestone: | 0.9.0 M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Nicolas Bros
Done in revision 2998. Drag&drop works inside one editor or between 2 editors. Drag&drop an element onto another element to add it to a containment feature of the target element. Drag&drop onto a link to add the element to the reference. If the reference is multivalued, the element is added. Otherwise, it replaces the previous value. If the reference is a containment reference, then the element is moved by default, or copied if holding Ctrl. If the reference is a non-containment reference, then the element is set by default, and cannot be copied (EMF mandates a containment tree). Elements can also be re-ordered by drag&drop, by moving an element between 2 other elements under the same reference. Make sure "sort instances" is disabled if you want to see the result. Bug fixed. |