summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-10-07 13:40:29 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2015-10-13 07:26:09 +0000
commit2c7a984542c70641db954f197d3ba1f2f0d7488c (patch)
tree3fe6b83a7074baae849f1a5816ac3868cee940ee /server
parent3e7d6c8e5f336b46e8bab74f23db511c261fdf49 (diff)
downloadvaadin-framework-2c7a984542c70641db954f197d3ba1f2f0d7488c.tar.gz
vaadin-framework-2c7a984542c70641db954f197d3ba1f2f0d7488c.zip
Move RpcDataProviderExtension and DataGenerator to correct package
New location is com.vaadin.server.communication.data as the extension only manages the communication of container data to a client-side data source. Change-Id: I7aeefe23c9d771d70bc1dd389bc7f0c3357f0a17
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/communication/data/DataGenerator.java (renamed from server/src/com/vaadin/data/DataGenerator.java)3
-rw-r--r--server/src/com/vaadin/server/communication/data/RpcDataProviderExtension.java (renamed from server/src/com/vaadin/data/RpcDataProviderExtension.java)5
-rw-r--r--server/src/com/vaadin/ui/Grid.java4
-rw-r--r--server/tests/src/com/vaadin/tests/server/component/grid/TestGrid.java2
4 files changed, 9 insertions, 5 deletions
diff --git a/server/src/com/vaadin/data/DataGenerator.java b/server/src/com/vaadin/server/communication/data/DataGenerator.java
index fd64a389b8..58ba1b3b00 100644
--- a/server/src/com/vaadin/data/DataGenerator.java
+++ b/server/src/com/vaadin/server/communication/data/DataGenerator.java
@@ -13,10 +13,11 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-package com.vaadin.data;
+package com.vaadin.server.communication.data;
import java.io.Serializable;
+import com.vaadin.data.Item;
import com.vaadin.ui.Grid.AbstractGridExtension;
import elemental.json.JsonObject;
diff --git a/server/src/com/vaadin/data/RpcDataProviderExtension.java b/server/src/com/vaadin/server/communication/data/RpcDataProviderExtension.java
index 293940aec7..e3c48f1ec0 100644
--- a/server/src/com/vaadin/data/RpcDataProviderExtension.java
+++ b/server/src/com/vaadin/server/communication/data/RpcDataProviderExtension.java
@@ -14,7 +14,7 @@
* the License.
*/
-package com.vaadin.data;
+package com.vaadin.server.communication.data;
import java.io.Serializable;
import java.util.ArrayList;
@@ -26,12 +26,15 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
+import com.vaadin.data.Container;
import com.vaadin.data.Container.Indexed;
import com.vaadin.data.Container.Indexed.ItemAddEvent;
import com.vaadin.data.Container.Indexed.ItemRemoveEvent;
import com.vaadin.data.Container.ItemSetChangeEvent;
import com.vaadin.data.Container.ItemSetChangeListener;
import com.vaadin.data.Container.ItemSetChangeNotifier;
+import com.vaadin.data.Item;
+import com.vaadin.data.Property;
import com.vaadin.data.Property.ValueChangeEvent;
import com.vaadin.data.Property.ValueChangeListener;
import com.vaadin.data.Property.ValueChangeNotifier;
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java
index 7179ddf0a2..d7efdf5814 100644
--- a/server/src/com/vaadin/ui/Grid.java
+++ b/server/src/com/vaadin/ui/Grid.java
@@ -51,10 +51,8 @@ import com.vaadin.data.Container.PropertySetChangeEvent;
import com.vaadin.data.Container.PropertySetChangeListener;
import com.vaadin.data.Container.PropertySetChangeNotifier;
import com.vaadin.data.Container.Sortable;
-import com.vaadin.data.DataGenerator;
import com.vaadin.data.Item;
import com.vaadin.data.Property;
-import com.vaadin.data.RpcDataProviderExtension;
import com.vaadin.data.Validator.InvalidValueException;
import com.vaadin.data.fieldgroup.DefaultFieldGroupFieldFactory;
import com.vaadin.data.fieldgroup.FieldGroup;
@@ -83,6 +81,8 @@ import com.vaadin.server.Extension;
import com.vaadin.server.JsonCodec;
import com.vaadin.server.KeyMapper;
import com.vaadin.server.VaadinSession;
+import com.vaadin.server.communication.data.DataGenerator;
+import com.vaadin.server.communication.data.RpcDataProviderExtension;
import com.vaadin.shared.MouseEventDetails;
import com.vaadin.shared.data.sort.SortDirection;
import com.vaadin.shared.ui.grid.EditorClientRpc;
diff --git a/server/tests/src/com/vaadin/tests/server/component/grid/TestGrid.java b/server/tests/src/com/vaadin/tests/server/component/grid/TestGrid.java
index 63fa569ab4..97fb2d8309 100644
--- a/server/tests/src/com/vaadin/tests/server/component/grid/TestGrid.java
+++ b/server/tests/src/com/vaadin/tests/server/component/grid/TestGrid.java
@@ -19,8 +19,8 @@ import java.lang.reflect.Field;
import org.easymock.EasyMock;
-import com.vaadin.data.RpcDataProviderExtension;
import com.vaadin.data.util.IndexedContainer;
+import com.vaadin.server.communication.data.RpcDataProviderExtension;
import com.vaadin.ui.ConnectorTracker;
import com.vaadin.ui.Grid;
import com.vaadin.ui.UI;