diff options
author | Denis <denis@vaadin.com> | 2017-02-02 22:07:21 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2017-02-02 22:07:21 +0200 |
commit | 6456428004199f7f4d887579b460df96530c42b0 (patch) | |
tree | b54ee2ce835e69859ddcd1f3cb407baa0d81cd6f /shared | |
parent | ab207e8bbeb6f3bf5b6a45e01ca5a4fb0e0c4f6a (diff) | |
download | vaadin-framework-6456428004199f7f4d887579b460df96530c42b0.tar.gz vaadin-framework-6456428004199f7f4d887579b460df96530c42b0.zip |
Add Grid editor events. (#8365)
* Migrate v7 Grid tests. Next round.
Fixes #8419
* Add Grid editor events.
Fixes #8202.
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java index 8f338aa1a0..a19d94d9d6 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java +++ b/shared/src/main/java/com/vaadin/shared/ui/grid/editor/EditorServerRpc.java @@ -28,8 +28,8 @@ public interface EditorServerRpc extends ServerRpc { /** * Asks the server to open the editor and bind data to it. When a bind * request is sent, it must be acknowledged with a - * {@link EditorClientRpc#confirmBind(boolean) confirm call} before the client can - * open the editor. + * {@link EditorClientRpc#confirmBind(boolean) confirm call} before the + * client can open the editor. * * @param key * the identifier key for edited item @@ -47,6 +47,10 @@ public interface EditorServerRpc extends ServerRpc { * Tells the server to cancel editing. When sending a cancel request, the * client does not need to wait for confirmation by the server before hiding * the editor. + * + * @param afterBeingSaved + * if {@code true} then this method is called to close editor + * after save action, otherwise it represents a cancel action */ - void cancel(); + void cancel(boolean afterBeingSaved); } |