diff options
author | Leif Åstrand <leif@vaadin.com> | 2014-12-11 19:18:44 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-12 06:43:41 +0000 |
commit | e1e960f62269d09b813908bcab87be3028b15397 (patch) | |
tree | c76429d49a797e25095700faf9033a56452656cc /shared | |
parent | 71f3551fe0e26f5d4297f98835520dbd24309ffb (diff) | |
download | vaadin-framework-e1e960f62269d09b813908bcab87be3028b15397.tar.gz vaadin-framework-e1e960f62269d09b813908bcab87be3028b15397.zip |
Make AbstractRemoteDataSource easier to use (#13334)
- Adds a callback to requestRows so implementors know what to do when
receiving data
- Guestimate the initial amount of available rows so an initial request
can be made before the actual size is known
Change-Id: Iba44eab1695e3ff9947a4e7ed16eee55af98fec4
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/data/DataProviderState.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/shared/src/com/vaadin/shared/data/DataProviderState.java b/shared/src/com/vaadin/shared/data/DataProviderState.java deleted file mode 100644 index 76d68e8352..0000000000 --- a/shared/src/com/vaadin/shared/data/DataProviderState.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2000-2014 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.data; - -import com.vaadin.shared.communication.SharedState; - -/** - * Shared state used by client-side data sources. - * - * @since - * @author Vaadin Ltd - */ -public class DataProviderState extends SharedState { - /** - * The size of the container. - */ - public int containerSize; -} |