]> source.dussan.org Git - vaadin-framework.git/commitdiff
Move ComboBox shared classes to vaadin-compatibility-shared
authorHenri Sara <hesara@vaadin.com>
Thu, 25 Aug 2016 07:35:31 +0000 (10:35 +0300)
committerHenri Sara <hesara@vaadin.com>
Thu, 25 Aug 2016 10:38:48 +0000 (13:38 +0300)
Change-Id: Icdb0ddc011e8749f4c3f159d2ecd94e4c564d28f

29 files changed:
compatibility-client/src/main/java/com/vaadin/v7/client/ui/VFilterSelect.java
compatibility-client/src/main/java/com/vaadin/v7/client/ui/combobox/ComboBoxConnector.java
compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java
compatibility-server/src/main/java/com/vaadin/v7/ui/ComboBox.java
compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/combobox/ComboBoxDeclarativeTest.java
compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/combobox/ComboBoxStateTest.java
compatibility-server/src/test/java/com/vaadin/v7/tests/server/components/ComboBoxValueChangeTest.java
compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxConstants.java [new file with mode: 0644]
compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxServerRpc.java [new file with mode: 0644]
compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxState.java [new file with mode: 0644]
compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/FilteringMode.java [new file with mode: 0644]
shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxConstants.java [deleted file]
shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java [deleted file]
shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java [deleted file]
shared/src/main/java/com/vaadin/shared/ui/combobox/FilteringMode.java [deleted file]
uitest/src/main/java/com/vaadin/tests/TestSizeableIncomponents.java
uitest/src/main/java/com/vaadin/tests/components/calendar/CalendarTest.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxCombinedWithEnterShortcut.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxNavigation.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxReapperingOldValue.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxSuggestionPageLength.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxTabWhenFilter.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxValueInput.java
uitest/src/main/java/com/vaadin/tests/components/combobox/ComboBoxes2.java
uitest/src/main/java/com/vaadin/tests/components/datefield/DateFieldTimezone.java
uitest/src/main/java/com/vaadin/tests/components/select/EnumSelect.java
uitest/src/main/java/com/vaadin/tests/containers/sqlcontainer/ComboBoxUpdateProblem.java
uitest/src/main/java/com/vaadin/tests/containers/sqlcontainer/TableQueryWithNonUniqueFirstPrimaryKey.java
uitest/src/main/java/com/vaadin/tests/themes/valo/CalendarTest.java

index adf360ccdbb8d60d84b3fe9d96113a7f165506d4..0f52215a9067cda18bb1a838aea0a0de3097c9d3 100644 (file)
@@ -84,9 +84,9 @@ import com.vaadin.client.ui.menubar.MenuBar;
 import com.vaadin.client.ui.menubar.MenuItem;
 import com.vaadin.shared.AbstractComponentState;
 import com.vaadin.shared.ui.ComponentStateUtil;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.shared.util.SharedUtil;
 import com.vaadin.v7.client.ui.combobox.ComboBoxConnector;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 
 /**
  * Client side implementation of the Select component.
index f9790bb94e4944136f614214ea01a5936097f711..95cde287bab46084491df3acbeac0c88ca5734d2 100644 (file)
@@ -29,12 +29,12 @@ import com.vaadin.client.ui.SimpleManagedLayout;
 import com.vaadin.shared.EventId;
 import com.vaadin.shared.communication.FieldRpc.FocusAndBlurServerRpc;
 import com.vaadin.shared.ui.Connect;
-import com.vaadin.shared.ui.combobox.ComboBoxServerRpc;
-import com.vaadin.shared.ui.combobox.ComboBoxState;
 import com.vaadin.v7.client.ui.AbstractFieldConnector;
 import com.vaadin.v7.client.ui.VFilterSelect;
 import com.vaadin.v7.client.ui.VFilterSelect.DataReceivedHandler;
 import com.vaadin.v7.client.ui.VFilterSelect.FilterSelectSuggestion;
+import com.vaadin.v7.shared.ui.combobox.ComboBoxServerRpc;
+import com.vaadin.v7.shared.ui.combobox.ComboBoxState;
 import com.vaadin.v7.ui.ComboBox;
 
 @Connect(ComboBox.class)
index e184cd099849d7af6bc2a6ba1a2abdcc0937e37a..e30d666ea0d6fb6c716b7e9aa73f35c70c10ce87 100644 (file)
@@ -43,7 +43,6 @@ import com.vaadin.server.PaintException;
 import com.vaadin.server.PaintTarget;
 import com.vaadin.server.Resource;
 import com.vaadin.server.VaadinSession;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.shared.ui.dd.VerticalDropLocation;
 import com.vaadin.shared.ui.select.AbstractSelectState;
 import com.vaadin.ui.Component;
@@ -60,6 +59,7 @@ import com.vaadin.v7.data.util.IndexedContainer;
 import com.vaadin.v7.data.util.converter.Converter;
 import com.vaadin.v7.data.util.converter.Converter.ConversionException;
 import com.vaadin.v7.event.DataBoundTransferable;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.data.util.converter.ConverterUtil;
 
 /**
index 50b6ac505c1f99941d9dfb75e4c0fbdbfce16283..08a17151b7d69333ea34a8d61671526ef81f5069 100644 (file)
@@ -33,12 +33,12 @@ import com.vaadin.event.FieldEvents.FocusListener;
 import com.vaadin.server.PaintException;
 import com.vaadin.server.PaintTarget;
 import com.vaadin.server.Resource;
-import com.vaadin.shared.ui.combobox.ComboBoxServerRpc;
-import com.vaadin.shared.ui.combobox.ComboBoxState;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.ui.Component;
 import com.vaadin.v7.data.Container;
 import com.vaadin.v7.data.util.filter.SimpleStringFilter;
+import com.vaadin.v7.shared.ui.combobox.ComboBoxServerRpc;
+import com.vaadin.v7.shared.ui.combobox.ComboBoxState;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 
 /**
  * A filtering dropdown single-select. Suitable for newItemsAllowed, but it's
index 09dc1378e9d27ec1147142a5fa6e957b343bcc31..1e32e1dd1ae7f1a86a1fa31d79a71b017004814e 100644 (file)
@@ -17,8 +17,8 @@ package com.vaadin.v7.tests.server.component.combobox;
 
 import org.junit.Test;
 
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.design.DeclarativeTestBase;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 public class ComboBoxDeclarativeTest extends DeclarativeTestBase<ComboBox> {
index 1e0233f76a5b2050219a02bb79708dbfcbb2396d..83febabf43e10d1283459a473cf644cde0cef878 100644 (file)
@@ -18,7 +18,7 @@ package com.vaadin.v7.tests.server.component.combobox;
 import org.junit.Assert;
 import org.junit.Test;
 
-import com.vaadin.shared.ui.combobox.ComboBoxState;
+import com.vaadin.v7.shared.ui.combobox.ComboBoxState;
 import com.vaadin.v7.ui.ComboBox;
 
 /**
index 51007e0f8ecb367ee5167e67e6c60bd93b8d56a0..dbba1a0e9f4c50863ae7436ef935a6a2d193fea1 100644 (file)
@@ -4,8 +4,8 @@ import org.junit.Before;
 
 import com.vaadin.server.ServerRpcManager;
 import com.vaadin.server.ServerRpcMethodInvocation;
-import com.vaadin.shared.ui.combobox.ComboBoxServerRpc;
 import com.vaadin.tests.server.components.AbstractFieldValueChangeTestBase;
+import com.vaadin.v7.shared.ui.combobox.ComboBoxServerRpc;
 import com.vaadin.v7.ui.AbstractField;
 import com.vaadin.v7.ui.ComboBox;
 
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxConstants.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxConstants.java
new file mode 100644 (file)
index 0000000..4e79ab3
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2000-2016 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.v7.shared.ui.combobox;
+
+import java.io.Serializable;
+
+@Deprecated
+public class ComboBoxConstants implements Serializable {
+    @Deprecated
+    public static final String ATTR_INPUTPROMPT = "prompt";
+    @Deprecated
+    public static final String ATTR_NO_TEXT_INPUT = "noInput";
+
+}
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxServerRpc.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxServerRpc.java
new file mode 100644 (file)
index 0000000..f3dca9d
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2000-2016 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.v7.shared.ui.combobox;
+
+import com.vaadin.shared.communication.ServerRpc;
+
+/**
+ * Client to server RPC interface for ComboBox.
+ *
+ * @since
+ */
+public interface ComboBoxServerRpc extends ServerRpc {
+    /**
+     * Create a new item in the combo box. This method can only be used when the
+     * ComboBox is configured to allow the creation of new items by the user.
+     *
+     * @param itemValue
+     *            user entered string value for the new item
+     */
+    public void createNewItem(String itemValue);
+
+    /**
+     * Set the current selection.
+     *
+     * @param item
+     *            the id of a single item or null to deselect the current value
+     */
+    public void setSelectedItem(String item);
+
+    /**
+     * Request the server to send a page of the item list.
+     *
+     * @param filter
+     *            filter string interpreted according to the current filtering
+     *            mode
+     * @param page
+     *            zero based page number
+     */
+    public void requestPage(String filter, int page);
+}
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxState.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/ComboBoxState.java
new file mode 100644 (file)
index 0000000..bbab911
--- /dev/null
@@ -0,0 +1,65 @@
+/*
+ * Copyright 2000-2016 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.v7.shared.ui.combobox;
+
+import com.vaadin.shared.ui.select.AbstractSelectState;
+
+/**
+ * Shared state for the ComboBox component.
+ *
+ * @since 7.0
+ */
+public class ComboBoxState extends AbstractSelectState {
+    {
+        primaryStyleName = "v-filterselect";
+    }
+
+    /**
+     * If text input is not allowed, the ComboBox behaves like a pretty
+     * NativeSelect - the user can not enter any text and clicking the text
+     * field opens the drop down with options.
+     *
+     * @since
+     */
+    public boolean textInputAllowed = true;
+
+    /**
+     * A textual prompt that is displayed when the select would otherwise be
+     * empty, to prompt the user for input.
+     *
+     * @since
+     */
+    public String inputPrompt = null;
+
+    /**
+     * Number of items to show per page or 0 to disable paging.
+     */
+    public int pageLength = 10;
+
+    /**
+     * Current filtering mode (look for match of the user typed string in the
+     * beginning of the item caption or anywhere in the item caption).
+     */
+    public FilteringMode filteringMode = FilteringMode.STARTSWITH;
+
+    /**
+     * Suggestion pop-up's width as a CSS string. By using relative units (e.g.
+     * "50%") it's possible to set the popup's width relative to the ComboBox
+     * itself.
+     */
+    public String suggestionPopupWidth = null;
+
+}
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/FilteringMode.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/combobox/FilteringMode.java
new file mode 100644 (file)
index 0000000..382f509
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2000-2016 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.v7.shared.ui.combobox;
+
+public enum FilteringMode {
+    OFF, STARTSWITH, CONTAINS;
+}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxConstants.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxConstants.java
deleted file mode 100644 (file)
index 3ff57eb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright 2000-2016 Vaadin Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.vaadin.shared.ui.combobox;
-
-import java.io.Serializable;
-
-@Deprecated
-public class ComboBoxConstants implements Serializable {
-    @Deprecated
-    public static final String ATTR_INPUTPROMPT = "prompt";
-    @Deprecated
-    public static final String ATTR_NO_TEXT_INPUT = "noInput";
-
-}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java
deleted file mode 100644 (file)
index 68052fc..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright 2000-2016 Vaadin Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.vaadin.shared.ui.combobox;
-
-import com.vaadin.shared.communication.ServerRpc;
-
-/**
- * Client to server RPC interface for ComboBox.
- *
- * @since
- */
-public interface ComboBoxServerRpc extends ServerRpc {
-    /**
-     * Create a new item in the combo box. This method can only be used when the
-     * ComboBox is configured to allow the creation of new items by the user.
-     *
-     * @param itemValue
-     *            user entered string value for the new item
-     */
-    public void createNewItem(String itemValue);
-
-    /**
-     * Set the current selection.
-     *
-     * @param item
-     *            the id of a single item or null to deselect the current value
-     */
-    public void setSelectedItem(String item);
-
-    /**
-     * Request the server to send a page of the item list.
-     *
-     * @param filter
-     *            filter string interpreted according to the current filtering
-     *            mode
-     * @param page
-     *            zero based page number
-     */
-    public void requestPage(String filter, int page);
-}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java
deleted file mode 100644 (file)
index a1afcee..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright 2000-2016 Vaadin Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.vaadin.shared.ui.combobox;
-
-import com.vaadin.shared.ui.select.AbstractSelectState;
-
-/**
- * Shared state for the ComboBox component.
- *
- * @since 7.0
- */
-public class ComboBoxState extends AbstractSelectState {
-    {
-        primaryStyleName = "v-filterselect";
-    }
-
-    /**
-     * If text input is not allowed, the ComboBox behaves like a pretty
-     * NativeSelect - the user can not enter any text and clicking the text
-     * field opens the drop down with options.
-     *
-     * @since
-     */
-    public boolean textInputAllowed = true;
-
-    /**
-     * A textual prompt that is displayed when the select would otherwise be
-     * empty, to prompt the user for input.
-     *
-     * @since
-     */
-    public String inputPrompt = null;
-
-    /**
-     * Number of items to show per page or 0 to disable paging.
-     */
-    public int pageLength = 10;
-
-    /**
-     * Current filtering mode (look for match of the user typed string in the
-     * beginning of the item caption or anywhere in the item caption).
-     */
-    public FilteringMode filteringMode = FilteringMode.STARTSWITH;
-
-    /**
-     * Suggestion pop-up's width as a CSS string. By using relative units (e.g.
-     * "50%") it's possible to set the popup's width relative to the ComboBox
-     * itself.
-     */
-    public String suggestionPopupWidth = null;
-
-}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/FilteringMode.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/FilteringMode.java
deleted file mode 100644 (file)
index edfca72..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright 2000-2016 Vaadin Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
-package com.vaadin.shared.ui.combobox;
-
-public enum FilteringMode {
-    OFF, STARTSWITH, CONTAINS;
-}
index 2849be80d680c3912f244f496a9634eb329941ef..92dda09f972029c5ca52d2fdf361af1bf6ad8361 100644 (file)
@@ -23,7 +23,6 @@ import java.util.Iterator;
 
 import com.vaadin.server.LegacyApplication;
 import com.vaadin.server.ThemeResource;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.ui.AbstractComponent;
 import com.vaadin.ui.Button;
 import com.vaadin.ui.Button.ClickEvent;
@@ -38,6 +37,7 @@ import com.vaadin.ui.VerticalLayout;
 import com.vaadin.v7.data.Container;
 import com.vaadin.v7.data.Property.ValueChangeEvent;
 import com.vaadin.v7.data.util.IndexedContainer;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.AbstractSelect;
 import com.vaadin.v7.ui.ComboBox;
 import com.vaadin.v7.ui.Table;
index 7989e42597521ebbe8a14f9bb605984aa901eb81..7bab92a51369de90b608968a0637d75e5753d2c8 100644 (file)
@@ -26,7 +26,6 @@ import com.vaadin.annotations.Theme;
 import com.vaadin.data.Binder;
 import com.vaadin.server.VaadinRequest;
 import com.vaadin.shared.ui.MarginInfo;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.shared.ui.datefield.Resolution;
 import com.vaadin.ui.Alignment;
 import com.vaadin.ui.Button;
@@ -47,6 +46,7 @@ import com.vaadin.v7.data.Property.ValueChangeListener;
 import com.vaadin.v7.data.fieldgroup.FieldGroup;
 import com.vaadin.v7.data.fieldgroup.FieldGroup.CommitException;
 import com.vaadin.v7.data.util.BeanItem;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.Calendar;
 import com.vaadin.v7.ui.Calendar.TimeFormat;
 import com.vaadin.v7.ui.ComboBox;
index 5e7b5befc5a3d03acd2b26da234fb6b2272e8ef5..4938f242419beab0309b6ae5d14f962039111a30 100644 (file)
@@ -1,11 +1,11 @@
 package com.vaadin.tests.components.combobox;
 
 import com.vaadin.event.ShortcutAction.KeyCode;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.TestBase;
 import com.vaadin.tests.util.Log;
 import com.vaadin.ui.Button;
 import com.vaadin.ui.Button.ClickEvent;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 public class ComboBoxCombinedWithEnterShortcut extends TestBase {
index fb7a6a35c3c15d69049949eb6f96bd03d59640c4..2a1889e7d970404ddebd5f7a2f1e976e79af6a69 100644 (file)
@@ -1,7 +1,7 @@
 package com.vaadin.tests.components.combobox;
 
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.TestBase;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 public class ComboBoxNavigation extends TestBase {
index 6e6d77c63550b73cc4bd1cadab2a3b9714b068cf..4de60b574874e8a6002f4cd0c8a9efd6aa9055ad 100644 (file)
@@ -1,7 +1,6 @@
 package com.vaadin.tests.components.combobox;
 
 import com.vaadin.server.LegacyApplication;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.ui.Label;
 import com.vaadin.ui.LegacyWindow;
 import com.vaadin.ui.VerticalLayout;
@@ -9,6 +8,7 @@ import com.vaadin.v7.data.Container;
 import com.vaadin.v7.data.Property.ValueChangeEvent;
 import com.vaadin.v7.data.Property.ValueChangeListener;
 import com.vaadin.v7.data.util.IndexedContainer;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 @SuppressWarnings("serial")
index 06b97bd7bba4dfbbb23c0584c66bd1652d44ef07..c25d2b43fac9b3cf97981ff157b9d752d899f958 100644 (file)
@@ -19,8 +19,8 @@ import java.util.Arrays;
 import java.util.List;
 
 import com.vaadin.server.VaadinRequest;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.AbstractTestUI;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 public class ComboBoxSuggestionPageLength extends AbstractTestUI {
index 024a5f0ade89f775d4ade2c2ac1756e963eb2954..0d6b9e669cf7426234f9b11a75d12d8313d204ef 100644 (file)
 package com.vaadin.tests.components.combobox;
 
 import com.vaadin.server.VaadinRequest;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.AbstractTestUI;
 import com.vaadin.ui.VerticalLayout;
 import com.vaadin.v7.data.Container;
 import com.vaadin.v7.data.util.IndexedContainer;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.TextField;
 
 /**
index 4592bbae0b5b17c6c0b22fd6e16fad528ca69d88..79fd46bc5eb3b8fd52b15caf1b4a9fc79ab13c7f 100644 (file)
@@ -1,8 +1,8 @@
 package com.vaadin.tests.components.combobox;
 
 import com.vaadin.server.VaadinRequest;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.AbstractTestUI;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 public class ComboBoxValueInput extends AbstractTestUI {
index f5ab4547370f67d9a6f5f342ce5e09d75658d053..b92b6c18a615c97325cc6f200aba0e77493e2aa9 100644 (file)
@@ -3,8 +3,8 @@ package com.vaadin.tests.components.combobox;
 import java.util.LinkedHashMap;
 
 import com.vaadin.server.Resource;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.select.AbstractSelectTestCase;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 import com.vaadin.v7.ui.ComboBox.ItemStyleGenerator;
 
index ccf50ca77e47c1a38d46318f4fe91790e6ee09b9..33d1c659f0ee49876902d9d37407ed109f85b2ca 100644 (file)
@@ -8,13 +8,13 @@ import java.util.Date;
 import java.util.Locale;
 import java.util.TimeZone;
 
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.shared.ui.datefield.Resolution;
 import com.vaadin.tests.components.TestBase;
 import com.vaadin.tests.util.Log;
 import com.vaadin.ui.DateField;
 import com.vaadin.v7.data.Property;
 import com.vaadin.v7.data.Property.ValueChangeEvent;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 public class DateFieldTimezone extends TestBase {
index 93908bf015a2fe77c1d4a7a4ea6326de212653a2..bb0d3517ad3f858fb12660acf5da5f9ff2fc7060 100644 (file)
@@ -18,8 +18,8 @@ package com.vaadin.tests.components.select;
 import java.util.Locale;
 
 import com.vaadin.server.VaadinRequest;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.AbstractTestUIWithLog;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 import com.vaadin.v7.ui.NativeSelect;
 import com.vaadin.v7.ui.Tree;
index d25919a9f20f03aad75a965b6fd19569bde2b2e9..496f2fb8f525d9a92b736658ed2dde6983ef69c4 100644 (file)
@@ -1,8 +1,8 @@
 package com.vaadin.tests.containers.sqlcontainer;
 
 import com.vaadin.server.LegacyApplication;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.ui.LegacyWindow;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 /**
index c4aa32bd2581b61d55cfc93768283fb5b2016f96..c9bbb9af3c8815c13784904a3b56242857edf9ea 100644 (file)
@@ -5,7 +5,6 @@ import java.sql.SQLException;
 import java.sql.Statement;
 
 import com.vaadin.server.VaadinRequest;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.tests.components.AbstractTestUI;
 import com.vaadin.v7.data.Item;
 import com.vaadin.v7.data.Property;
@@ -15,6 +14,7 @@ import com.vaadin.v7.data.util.sqlcontainer.SQLContainer;
 import com.vaadin.v7.data.util.sqlcontainer.connection.JDBCConnectionPool;
 import com.vaadin.v7.data.util.sqlcontainer.connection.SimpleJDBCConnectionPool;
 import com.vaadin.v7.data.util.sqlcontainer.query.TableQuery;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.ComboBox;
 
 public class TableQueryWithNonUniqueFirstPrimaryKey extends AbstractTestUI {
index 2cc53bbdd1a64cb4910da680077a5d96e245d75a..617ec7d584bc8a39cbb8449187a4df5559f16e9c 100644 (file)
@@ -10,7 +10,6 @@ import com.vaadin.annotations.Theme;
 import com.vaadin.data.Binder;
 import com.vaadin.navigator.View;
 import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
-import com.vaadin.shared.ui.combobox.FilteringMode;
 import com.vaadin.shared.ui.datefield.Resolution;
 import com.vaadin.tests.components.calendar.CalendarTestEvent;
 import com.vaadin.ui.Alignment;
@@ -33,6 +32,7 @@ import com.vaadin.v7.data.Property.ValueChangeListener;
 import com.vaadin.v7.data.fieldgroup.FieldGroup;
 import com.vaadin.v7.data.fieldgroup.FieldGroup.CommitException;
 import com.vaadin.v7.data.util.BeanItem;
+import com.vaadin.v7.shared.ui.combobox.FilteringMode;
 import com.vaadin.v7.ui.Calendar;
 import com.vaadin.v7.ui.Calendar.TimeFormat;
 import com.vaadin.v7.ui.ComboBox;