Summary: | Selection only detect one selected item | ||
---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | João Martins <joaomartins27396> |
Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | maxime.porhel, pierre-charles.david |
Version: | 1.0.0M7 | Keywords: | triaged |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: | gsoc2014 | ||
Bug Depends on: | |||
Bug Blocks: | 434698 |
Description
João Martins
2014-06-02 03:50:06 EDT
We can see in CustomSiriusActionBarContributor we have: if (selection instanceof IStructuredSelection && ((IStructuredSelection) selection).size() == 1) When we run in debug mode for exemple in BorderRefactoringAction with brakepoing on "if (selection.size() == 1) {" if we have more than one selection it don't detect. We can see in CustomSiriusActionBarContributor we have: if (selection instanceof IStructuredSelection && ((IStructuredSelection) selection).size() == 1) When we run in debug mode for exemple in BorderRefactoringAction with brakepoing on "if (selection.size() == 1) {" if we have more than one selection it don't detect. Proposed fix: https://git.eclipse.org/r/#/c/27926/ The bug is not fixed, a first proposal draft have been proposed on Gerrit for review. |