| Summary: | Exception when selecting part of a container already selected | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> |
| Component: | Diagram | Assignee: | Maxime Porhel <maxime.porhel> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | maxime.porhel |
| Version: | 3.0.0 | Keywords: | triaged |
| Target Milestone: | 3.0.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/55750 https://git.eclipse.org/r/55825 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d5fdd89eb12714b0a0d1ccb73a54daa3065b45a7 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=0f636b815543dc6330e1641fb662958b37a18618 https://git.eclipse.org/r/55853 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=de8b0096f1108b8c7c5460aec8976a0346e71621 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 477211 | ||
|
Description
Pierre-Charles David
New Gerrit change created: https://git.eclipse.org/r/55750 The getParent().isSelectable() == EditPart.SELECTED has been introduce before the move to open source. This test is weird, it make the name part selectable only when the main part is in secondary selection (see EditPart.SELECTED vs EditPart.SELECTED_PRIMARY). Furthermore, the container/list/region name parts cannot be moved and the direct edit works. So we can simply always return false in isSelectable(). The IllegalArgumentException occured because the drag tracker saw the name edit part as a selectable part (its parent is secondary selected) but during the set selection the AbstractEditPartView call primDeselectAll() which change the isSelectable() status of the DDiagramElementContainer name edit parts. New Gerrit change created: https://git.eclipse.org/r/55825 Gerrit change https://git.eclipse.org/r/55750 was merged to [v3.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d5fdd89eb12714b0a0d1ccb73a54daa3065b45a7 Gerrit change https://git.eclipse.org/r/55825 was merged to [v3.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=0f636b815543dc6330e1641fb662958b37a18618 New Gerrit change created: https://git.eclipse.org/r/55853 Gerrit change https://git.eclipse.org/r/55853 was merged to [v3.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=de8b0096f1108b8c7c5460aec8976a0346e71621 Fixed by 0f636b815543dc6330e1641fb662958b37a18618 Verified on 3.0.2rc1. Available in Sirius 3.0.2 released on 2015-09-15. |