diff options
author | Henrik Paul <henrik@vaadin.com> | 2015-01-09 14:59:13 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-01-15 13:57:26 +0000 |
commit | 8e4b607730fc9ee30519c21779a99cef6440831c (patch) | |
tree | 1d6349045d8ea3259e7fd98fa4e2197a8eb67412 /shared | |
parent | 0723f355464c0a9093a8c9d43542b13a6aa9d366 (diff) | |
download | vaadin-framework-8e4b607730fc9ee30519c21779a99cef6440831c.tar.gz vaadin-framework-8e4b607730fc9ee30519c21779a99cef6440831c.zip |
Adds error handling to Grid Editor (#15556)
Change-Id: I93551548aad280c4e0193d65a066976d40d65a86
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java b/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java index 7466df9c99..82e08999b4 100644 --- a/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java +++ b/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java @@ -44,12 +44,18 @@ public interface EditorClientRpc extends ClientRpc { /** * Confirms a pending {@link EditorServerRpc#bind(int) bind request} sent by * the client. + * + * @param bindSucceeded + * <code>true</code> iff the bind action was successful */ - void confirmBind(); + void confirmBind(boolean bindSucceeded); /** * Confirms a pending {@link EditorServerRpc#save(int) save request} sent by * the client. + * + * @param saveSucceeded + * <code>true</code> iff the save action was successful */ - void confirmSave(); + void confirmSave(boolean saveSucceeded); } |