diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-01-05 16:26:22 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-01-07 11:03:06 +0000 |
commit | c7520351fef14334aa80305853afe7dcfff8609f (patch) | |
tree | 6ec81614bff81bb7ef1b4d596ec359e7b81f7432 /client | |
parent | bdec494f718d80cbd36363ce2e892647d31898d1 (diff) | |
download | vaadin-framework-c7520351fef14334aa80305853afe7dcfff8609f.tar.gz vaadin-framework-c7520351fef14334aa80305853afe7dcfff8609f.zip |
Support non-AbstractFieldConnector fields with Grid Editor (#19440)
Change-Id: Ib3eaf0b35cfe88391c8ab3b5fcbe668d67c2dd3c
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/connectors/GridConnector.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/com/vaadin/client/connectors/GridConnector.java b/client/src/com/vaadin/client/connectors/GridConnector.java index 1097a2f277..053487620a 100644 --- a/client/src/com/vaadin/client/connectors/GridConnector.java +++ b/client/src/com/vaadin/client/connectors/GridConnector.java @@ -48,7 +48,7 @@ import com.vaadin.client.communication.StateChangeEvent; import com.vaadin.client.communication.StateChangeEvent.StateChangeHandler; import com.vaadin.client.connectors.RpcDataSourceConnector.DetailsListener; import com.vaadin.client.connectors.RpcDataSourceConnector.RpcDataSource; -import com.vaadin.client.ui.AbstractFieldConnector; +import com.vaadin.client.ui.AbstractComponentConnector; import com.vaadin.client.ui.AbstractHasComponentsConnector; import com.vaadin.client.ui.ConnectorFocusAndBlurHandler; import com.vaadin.client.ui.SimpleManagedLayout; @@ -160,7 +160,7 @@ public class GridConnector extends AbstractHasComponentsConnector implements private AbstractRendererConnector<Object> rendererConnector; - private AbstractFieldConnector editorConnector; + private AbstractComponentConnector editorConnector; private HandlerRegistration errorStateHandler; @@ -196,12 +196,12 @@ public class GridConnector extends AbstractHasComponentsConnector implements return null; } - private AbstractFieldConnector getEditorConnector() { + private AbstractComponentConnector getEditorConnector() { return editorConnector; } private void setEditorConnector( - final AbstractFieldConnector editorConnector) { + final AbstractComponentConnector editorConnector) { this.editorConnector = editorConnector; if (errorStateHandler != null) { @@ -328,7 +328,7 @@ public class GridConnector extends AbstractHasComponentsConnector implements assert column != null; if (column instanceof CustomGridColumn) { - AbstractFieldConnector c = ((CustomGridColumn) column) + AbstractComponentConnector c = ((CustomGridColumn) column) .getEditorConnector(); if (c == null) { @@ -1033,7 +1033,7 @@ public class GridConnector extends AbstractHasComponentsConnector implements column.setHidingToggleCaption(state.hidingToggleCaption); column.setEditable(state.editable); - column.setEditorConnector((AbstractFieldConnector) state.editorConnector); + column.setEditorConnector((AbstractComponentConnector) state.editorConnector); } /** |