summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAdam Wagner <wbadam@users.noreply.github.com>2017-04-13 11:32:22 +0300
committerAleksi Hietanen <aleksi@vaadin.com>2017-04-13 11:32:22 +0300
commit8cf7b41e3f3dddb0a83cbc422511adb24796f85d (patch)
treeeabf83ad3af17110db1f245413aad42aae6f8e97 /server
parent107e9dd81f9b00b13250e8239c06c70b82dafcfb (diff)
downloadvaadin-framework-8cf7b41e3f3dddb0a83cbc422511adb24796f85d.tar.gz
vaadin-framework-8cf7b41e3f3dddb0a83cbc422511adb24796f85d.zip
Grid drag and drop documentation (#9055)
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/ui/GridDragSource.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/GridDragSource.java b/server/src/main/java/com/vaadin/ui/GridDragSource.java
index 0cfd9964e2..ef9a608871 100644
--- a/server/src/main/java/com/vaadin/ui/GridDragSource.java
+++ b/server/src/main/java/com/vaadin/ui/GridDragSource.java
@@ -150,6 +150,14 @@ public class GridDragSource<T> extends DragSourceExtension<Grid<T>> {
generatorFunction = generator;
}
+ /**
+ * Setting the data transfer text for this drag source is not supported.
+ *
+ * @throws UnsupportedOperationException
+ * Setting dataTransferText is not supported, since the drag data is
+ * set for each row based on the data provided by the generator.
+ * @see #setDragDataGenerator(SerializableFunction)
+ */
@Override
public void setDataTransferText(String data) throws
UnsupportedOperationException {