diff options
author | Adam Wagner <wbadam@users.noreply.github.com> | 2017-02-22 15:36:58 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2017-02-22 15:36:58 +0200 |
commit | 813a99cfeff9d9cd70d77bd5d9ae75f5fa7b2ff5 (patch) | |
tree | de49df11876668ab0e0d4e6f42266bfdc5ff629d /shared | |
parent | 998ea1f48a37ce04fea9ad4bcc49bf98ac511652 (diff) | |
download | vaadin-framework-813a99cfeff9d9cd70d77bd5d9ae75f5fa7b2ff5.tar.gz vaadin-framework-813a99cfeff9d9cd70d77bd5d9ae75f5fa7b2ff5.zip |
Make DragSource extension/component available in DropEvent (#8636)
* Make DragSource extension/component available in DropEvent (resolves #8439)
* Update drag and drop test to use new API
* Change type of drag source and update javadoc
* Use existing data map instead of DataTransfer
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java index dd21278277..9f335f010d 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java @@ -36,7 +36,9 @@ public interface DropTargetRpc extends ServerRpc { * Contains data from {@code DataTransfer} object. * @param dropEffect * Drop effect set for the drop target where drop happened. + * @param dragSourceId + * Drag source component connector's ID. */ public void drop(List<String> types, Map<String, String> data, - DropEffect dropEffect); + DropEffect dropEffect, String dragSourceId); } |