summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorAdam Wagner <wbadam@users.noreply.github.com>2017-02-22 15:36:58 +0200
committerPekka Hyvönen <pekka@vaadin.com>2017-02-22 15:36:58 +0200
commit813a99cfeff9d9cd70d77bd5d9ae75f5fa7b2ff5 (patch)
treede49df11876668ab0e0d4e6f42266bfdc5ff629d /shared
parent998ea1f48a37ce04fea9ad4bcc49bf98ac511652 (diff)
downloadvaadin-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.java4
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);
}