From 8e4b607730fc9ee30519c21779a99cef6440831c Mon Sep 17 00:00:00 2001 From: Henrik Paul Date: Fri, 9 Jan 2015 14:59:13 +0200 Subject: Adds error handling to Grid Editor (#15556) Change-Id: I93551548aad280c4e0193d65a066976d40d65a86 --- shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'shared') 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 + * true 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 + * true iff the save action was successful */ - void confirmSave(); + void confirmSave(boolean saveSucceeded); } -- cgit v1.2.3