Open lredor opened 4 months ago
The above examples can be used as starting point to check the results. The corresponding project is here: Issue426-ProjectSample.zip.
After several checks, the PR #427 is now OK to be reviewed. To validate this issue, you can check the initial description and the initial project. You can also validate the 24 tests added in org.eclipse.sirius.tests.swtbot.layout.GMFHelperTest. All tests have also been launched locally to detect potential regressions (in progress).
As a reminder, this method attempts to calculate, based on the GMF data, a dimension as close as possible to the dimension that the corresponding Draw2D figure will have.
In several cases, the result is false. This method is used, for example, in the Debug view.
Here are some samples. They should probably be completed with list containers and, Vertical or Horizontal Stack containers.