Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[376] Remove code now accessible as APIs in GEF #377

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

lredor
Copy link
Contributor

@lredor lredor commented Apr 25, 2024

This commit removes the code duplicated from GEF as it is now available as API in GEF (through issue
eclipse/gef-classic#426).

Bug: #376

This commit only updates the data used by SnapAllShapesTest without any
change (except the migration).
The test org.eclipse.sirius.tests.swtbot.SnapAllShapesTest.testMoveBorderNodeOnNodeInContainer()
has been updated. It wrongly used the same border nodes as
"testMoveBorderNodeOnBorderNode()". This case has been detected because
the new test class MoveAllShapesWithArrowKeysTest is inspired by this
one.
This commit changes the CheckBoundsCondition to also be able to consider
the HandleBounds figure and the scrollbars.

A rounding problem has been detected in GraphicalHelper and fixed during
these tests.

Bug: #359
This commit disables the snap to the perpendicular axis of the arrow
direction. Indeed, if the user moves a node in the left direction, for
example, it doesn't want to see its node moves up or down too.

The tests have also been adapted.

Bug: #359
This commit removes the code duplicated from GEF as it is now available
as API in GEF (through issue
eclipse/gef-classic#426).

Bug: #376
@lredor lredor added this to the v8.0.0 milestone Apr 25, 2024
@lredor lredor force-pushed the bug/lre/359-moveFromKeyboard branch 2 times, most recently from 6f99363 to 3ed7653 Compare April 26, 2024 16:00
Base automatically changed from bug/lre/359-moveFromKeyboard to master April 29, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant