| Summary: | [tooling] Papyrus-RT shall support CapsulePart creation using drag n drop from model explorer | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus-rt | Reporter: | Remi Schnekenburger <rschnekenburger> |
| Component: | tool | Assignee: | Remi Schnekenburger <rschnekenburger> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | give.a.damus, papyrus-bugs, peter.cigehn |
| Version: | 0.8.0 | ||
| Target Milestone: | 0.8.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/72512 https://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=9c823e68677588fa4caa2bf58654d0db605ac402 https://git.eclipse.org/r/72915 https://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=afa5c9951797bb664c5e35da9a0c38dd4a02851e |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 472883 | ||
|
Description
Remi Schnekenburger
fixed with commit a3613e7e327e8807d9c92724a03211284bb8b8e6 I've tested this in the latest Papyrus-RT build. When you drop the capsule onto the composite structure diagram you get up a dialog asking if you want to create a capsule part or drop a type to create typed property. Since it really does not make sense to create an ordinary property typed by another capsule onto a capsule, the default of creating a capsule part should already have been pre-selected. I would expect that the only thing that can happen when dropping a capsule onto another capsules composite structure diagram is to create a capsule part typed by that capsule. To simplify for the user, there should not be any choice at all when dropping. This second popup comes from the default UML configuration of the composite diagram, and for historical reason is not handled by the drag and drop strategy mechanism. There are known workarounds for this, but the good way to fix it would be to handle the default drag and drop by the dnd strategy mechanism. I have created the bug 475569: [Composite Diagram] DnD strategy mechanism should be used to create PropertyPart https://bugs.eclipse.org/bugs/show_bug.cgi?id=475569 In the mean time, I will use a workaround to remove the default strategy. Still valid for 1.0.0 Could Christian take a look at this one? Since Christian fixed the drag-and-drop case onto the border of a capsule part (without the additional popup appearing) in Bug 486444, maybe something similar could be made here? New Gerrit change created: https://git.eclipse.org/r/72512 Gerrit change https://git.eclipse.org/r/72512 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=9c823e68677588fa4caa2bf58654d0db605ac402 New Gerrit change created: https://git.eclipse.org/r/72915 Gerrit change https://git.eclipse.org/r/72915 was merged to [master]. Commit: http://git.eclipse.org/c/papyrus-rt/org.eclipse.papyrus-rt.git/commit/?id=afa5c9951797bb664c5e35da9a0c38dd4a02851e I have tested this in the latest Papyrus-RT build. The additional popup do not occur any longer, and the drag-and-drop operation is now fast and smooth as it should be, comparable to the legacy tooling. I suggest that we put this one into resolved/verified fixed. I do not have the access right to do so. Closing bug for 0.8.0 version. |