| Summary: | Distribute shapes | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Esteban DUGUEPEROUX <esteban.dugueperoux> |
| Component: | Diagram | Assignee: | Laurent Redor <laurent.redor> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | belqassim.djafer, laurent.redor, pierre-charles.david |
| Version: | 1.0.0 | Keywords: | triaged |
| Target Milestone: | 2.0.0 | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 580418 | ||
|
Description
Esteban DUGUEPEROUX
This is the spec https://git.eclipse.org/r/#/c/32168/ A draft of code is available https://git.eclipse.org/r/#/c/32169/ The spec is available here: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=72de0b8f72bd3eb4e9ec82088f8c19ba10830d2b New feature available since http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=0adbf17506973bcc22828e91d4e0c12ec3f5dffe A new bug has been discovered for this new feature (bug 446124). The bug 446124 will be closed as duplicate of this one to clarify the list of bugs resolved in Sirius 2.0.0. *** Bug 446124 has been marked as a duplicate of this bug. *** Proposition of fix for bug of comment 4: https://git.eclipse.org/r/34487 Two remaining problem: * Bug: The case of large shape that is the first and the last shape of the current selection. In this case, there is nothing to do. * Enhancement: Currently, the gap is rounded to the lower Integer. So the last gap can be different. To minimize the delta between the last gap and the others, we should round up to the lower Integer if the remainder is less than or equal to 0.5 and higher integer if the remainder is greater than 0.5. The 2 problems of comment 8 are fixed with [1] & [2] [1] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=245ac7452adf98d1b0a8cd2718b81faaabfa30e1 [2] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7d47eb8d8f5e581297910a075b7d3ee7ead61723 New tests have been added for these new actions: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=232673f9ff287bf450f9b3bcd9dadc94b6562497 Available in Sirius 2.0.0. |