diff options
author | Adam Wagner <wbadam@users.noreply.github.com> | 2017-06-07 14:50:38 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-06-07 14:50:38 +0300 |
commit | 8ff23ad10859132e5015f6372e623ed7ce8e05cc (patch) | |
tree | 92874f7b52ede7ac54526d8f3c40e5d4da825e69 /uitest | |
parent | 3b3c647e5b732a7e9e6109193a11e665270ffe2f (diff) | |
download | vaadin-framework-8ff23ad10859132e5015f6372e623ed7ce8e05cc.tar.gz vaadin-framework-8ff23ad10859132e5015f6372e623ed7ce8e05cc.zip |
Add mouse event details to the drop event (#9485)
Fixes #9483
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/components/grid/GridDragAndDrop.java | 4 | ||||
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/components/grid/GridDragAndDrop.java b/uitest/src/main/java/com/vaadin/tests/components/grid/GridDragAndDrop.java index 7ccb808618..a71952d53e 100644 --- a/uitest/src/main/java/com/vaadin/tests/components/grid/GridDragAndDrop.java +++ b/uitest/src/main/java/com/vaadin/tests/components/grid/GridDragAndDrop.java @@ -203,7 +203,9 @@ public class GridDragAndDrop extends AbstractTestUIWithLog { + event.getDropTargetRow().get() .getLastName() : "[BODY]") - + ", location=" + event.getDropLocation()); + + ", location=" + event.getDropLocation() + + ", mouseEventDetails=" + + event.getMouseEventDetails()); } }); }); diff --git a/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java b/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java index bf37cf0e82..493b57226e 100644 --- a/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java +++ b/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java @@ -151,7 +151,8 @@ public class DragAndDropCardShuffle extends AbstractTestUIWithLog { log(event.getComponent().getValue() + " drop received " + source.getValue() + ", dropEffect=" - + event.getDropEffect()); + + event.getDropEffect() + ", mouseEventDetails=" + + event.getMouseEventDetails()); } else { log(event.getComponent().getValue() + " drop received something else than card"); |