summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-12-17 10:37:10 +0200
committerVaadin Code Review <review@vaadin.com>2014-12-17 10:41:50 +0000
commitb08392ecae421e6778cac9671908768e6495c759 (patch)
treec26f06ecb3b888cd167ff08aab63d81b9b693896 /shared
parent7d328c3ab7d4dd74508c805bb134cd23c7d35227 (diff)
downloadvaadin-framework-b08392ecae421e6778cac9671908768e6495c759.tar.gz
vaadin-framework-b08392ecae421e6778cac9671908768e6495c759.zip
Move SortDirection from grid package to data package (#13334)
Change-Id: Id8fecbee0171b783a62d747433667267f530a6a7
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/data/sort/SortDirection.java (renamed from shared/src/com/vaadin/shared/ui/grid/SortDirection.java)6
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java1
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridState.java1
3 files changed, 5 insertions, 3 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/SortDirection.java b/shared/src/com/vaadin/shared/data/sort/SortDirection.java
index 9aed268d01..043b363226 100644
--- a/shared/src/com/vaadin/shared/ui/grid/SortDirection.java
+++ b/shared/src/com/vaadin/shared/data/sort/SortDirection.java
@@ -13,13 +13,13 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-package com.vaadin.shared.ui.grid;
+package com.vaadin.shared.data.sort;
import java.io.Serializable;
/**
- * Describes sorting direction for a Grid column
- *
+ * Describes sorting direction.
+ *
* @since
* @author Vaadin Ltd
*/
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
index 28149010be..141b1ed9ca 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
@@ -18,6 +18,7 @@ package com.vaadin.shared.ui.grid;
import java.util.List;
import com.vaadin.shared.communication.ServerRpc;
+import com.vaadin.shared.data.sort.SortDirection;
/**
* Client-to-server RPC interface for the Grid component
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridState.java b/shared/src/com/vaadin/shared/ui/grid/GridState.java
index f26b5cb344..4cf834c4f0 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridState.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridState.java
@@ -21,6 +21,7 @@ import java.util.List;
import com.vaadin.shared.AbstractComponentState;
import com.vaadin.shared.annotations.DelegateToWidget;
+import com.vaadin.shared.data.sort.SortDirection;
/**
* The shared state for the {@link com.vaadin.ui.components.grid.Grid} component