diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2014-12-15 16:31:26 +0200 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2014-12-17 14:28:55 +0200 |
commit | 6ed909f2c61f7d434d1c91549dcda27cfa3698a8 (patch) | |
tree | ca0f593f146bf7d24e3747fe7cf764b82a4062ea /shared | |
parent | 4a3a97c0d07861568d336ac7f3e0ed496dc8fcbb (diff) | |
download | vaadin-framework-6ed909f2c61f7d434d1c91549dcda27cfa3698a8.tar.gz vaadin-framework-6ed909f2c61f7d434d1c91549dcda27cfa3698a8.zip |
Change "editor row" to just "editor" in method names and javadoc (#13334)
Change-Id: Idafdbe3d71a38a979e1eeb07c527f66ce61ccfa9
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java (renamed from shared/src/com/vaadin/shared/ui/grid/EditorRowClientRpc.java) | 16 | ||||
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/EditorServerRpc.java (renamed from shared/src/com/vaadin/shared/ui/grid/EditorRowServerRpc.java) | 16 | ||||
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/GridColumnState.java | 2 | ||||
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/GridState.java | 4 |
4 files changed, 19 insertions, 19 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/EditorRowClientRpc.java b/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java index c72f767f3c..c083252754 100644 --- a/shared/src/com/vaadin/shared/ui/grid/EditorRowClientRpc.java +++ b/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java @@ -18,15 +18,15 @@ package com.vaadin.shared.ui.grid; import com.vaadin.shared.communication.ClientRpc; /** - * An RPC interface for the grid editor row server-to-client communications. + * An RPC interface for the grid editor server-to-client communications. * * @since * @author Vaadin Ltd */ -public interface EditorRowClientRpc extends ClientRpc { +public interface EditorClientRpc extends ClientRpc { /** - * Tells the client to open the editor row and bind data to it. + * Tells the client to open the editor and bind data to it. * * @param rowIndex * the index of the edited row @@ -34,7 +34,7 @@ public interface EditorRowClientRpc extends ClientRpc { void bind(int rowIndex); /** - * Tells the client to cancel editing and hide the editor row. + * Tells the client to cancel editing and hide the editor. * * @param rowIndex * the index of the edited row @@ -42,14 +42,14 @@ public interface EditorRowClientRpc extends ClientRpc { void cancel(int rowIndex); /** - * Confirms a pending {@link EditorRowServerRpc#bind(int) bind request} sent - * by the client. + * Confirms a pending {@link EditorServerRpc#bind(int) bind request} + * sent by the client. */ void confirmBind(); /** - * Confirms a pending {@link EditorRowServerRpc#save(int) save request} sent - * by the client. + * Confirms a pending {@link EditorServerRpc#save(int) save request} + * sent by the client. */ void confirmSave(); } diff --git a/shared/src/com/vaadin/shared/ui/grid/EditorRowServerRpc.java b/shared/src/com/vaadin/shared/ui/grid/EditorServerRpc.java index 8215e8963c..57df691547 100644 --- a/shared/src/com/vaadin/shared/ui/grid/EditorRowServerRpc.java +++ b/shared/src/com/vaadin/shared/ui/grid/EditorServerRpc.java @@ -18,17 +18,17 @@ package com.vaadin.shared.ui.grid; import com.vaadin.shared.communication.ServerRpc; /** - * An RPC interface for the grid editor row client-to-server communications. + * An RPC interface for the grid editor client-to-server communications. * * @since * @author Vaadin Ltd */ -public interface EditorRowServerRpc extends ServerRpc { +public interface EditorServerRpc extends ServerRpc { /** - * Asks the server to open the editor row and bind data to it. When a bind + * 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 EditorRowClientRpc#confirmBind() confirm call} before the client + * {@link EditorClientRpc#confirmBind() confirm call} before the client * can open the editor. * * @param rowIndex @@ -37,9 +37,9 @@ public interface EditorRowServerRpc extends ServerRpc { void bind(int rowIndex); /** - * Asks the server to save unsaved changes in the editor row to the data - * source. When a save request is sent, it must be acknowledged with a - * {@link EditorRowClientRpc#confirmSave() confirm call}. + * Asks the server to save unsaved changes in the editor to the data source. + * When a save request is sent, it must be acknowledged with a + * {@link EditorClientRpc#confirmSave() confirm call}. * * @param rowIndex * the index of the edited row @@ -49,7 +49,7 @@ public interface EditorRowServerRpc 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 row. + * the editor. * * @param rowIndex * the index of the edited row diff --git a/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java b/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java index 34e6fb4cfd..11cb133fa5 100644 --- a/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java +++ b/shared/src/com/vaadin/shared/ui/grid/GridColumnState.java @@ -53,7 +53,7 @@ public class GridColumnState implements Serializable { /** * The connector for the field used to edit cells in this column when the - * editor row is active. + * editor interface is active. */ public Connector editorConnector; diff --git a/shared/src/com/vaadin/shared/ui/grid/GridState.java b/shared/src/com/vaadin/shared/ui/grid/GridState.java index 4cf834c4f0..1f98431caf 100644 --- a/shared/src/com/vaadin/shared/ui/grid/GridState.java +++ b/shared/src/com/vaadin/shared/ui/grid/GridState.java @@ -138,8 +138,8 @@ public class GridState extends AbstractComponentState { /** Directions for each sorted column */ public SortDirection[] sortDirs = new SortDirection[0]; - /** The enabled state of the editor row */ - public boolean editorRowEnabled = false; + /** The enabled state of the editor interface */ + public boolean editorEnabled = false; /** Whether row data might contain generated row styles */ public boolean hasRowStyleGenerator; |