aboutsummaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/dnd/DropTargetRpc.java6
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/grid/GridDropTargetRpc.java6
2 files changed, 10 insertions, 2 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 2d475f51e7..eb53d1e9e7 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
@@ -18,6 +18,7 @@ package com.vaadin.shared.ui.dnd;
import java.util.List;
import java.util.Map;
+import com.vaadin.shared.MouseEventDetails;
import com.vaadin.shared.communication.ServerRpc;
/**
@@ -39,7 +40,10 @@ public interface DropTargetRpc extends ServerRpc {
* DataTransfer} object.
* @param dropEffect
* The desired drop effect.
+ * @param mouseEventDetails
+ * mouse event details object containing information about the drop
+ * event
*/
public void drop(List<String> types, Map<String, String> data,
- String dropEffect);
+ String dropEffect, MouseEventDetails mouseEventDetails);
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/GridDropTargetRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/GridDropTargetRpc.java
index 1e1242be5a..8309608ca6 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/grid/GridDropTargetRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/grid/GridDropTargetRpc.java
@@ -18,6 +18,7 @@ package com.vaadin.shared.ui.grid;
import java.util.List;
import java.util.Map;
+import com.vaadin.shared.MouseEventDetails;
import com.vaadin.shared.communication.ServerRpc;
/**
@@ -43,8 +44,11 @@ public interface GridDropTargetRpc extends ServerRpc {
* Key of the row on which the drop event occured.
* @param dropLocation
* Location of the drop within the row.
+ * @param mouseEventDetails
+ * Mouse event details object containing information about the drop
+ * event
*/
public void drop(List<String> types, Map<String, String> data,
String dropEffect, String rowKey,
- DropLocation dropLocation);
+ DropLocation dropLocation, MouseEventDetails mouseEventDetails);
}