]> source.dussan.org Git - vaadin-framework.git/commit
Refactor common methods in in-memory data providers (#9308)
authorAleksi Hietanen <aleksi@vaadin.com>
Tue, 16 May 2017 08:57:02 +0000 (11:57 +0300)
committerPekka Hyvönen <pekka@vaadin.com>
Tue, 16 May 2017 08:57:02 +0000 (11:57 +0300)
commitefa7f5a4d069556061ba4ceef4fb4d76dae84ef4
tree767b0fdb3146930919cec37e5eaab75422b0867d
parenteb743d965278d263a4c496bb4e39c067fe2b1a8c
Refactor common methods in in-memory data providers (#9308)

* Refactor common methods of InMemoryHierarchicalDataProvider and ListDataProvider to a single interface
* Rename HierarchyData and InMemoryHierarchicalDataProvider, introduce HasHierarchicalDataProvider
* Additionally adds a helper method for recursive constructing
TreeData with a child item provider.
30 files changed:
all/src/main/templates/release-notes.html
documentation/components/components-tree.asciidoc
documentation/components/components-treegrid.asciidoc
documentation/datamodel/datamodel-hierarchical.asciidoc
server/src/main/java/com/vaadin/data/HasHierarchicalDataProvider.java [new file with mode: 0644]
server/src/main/java/com/vaadin/data/HierarchyData.java [deleted file]
server/src/main/java/com/vaadin/data/TreeData.java [new file with mode: 0644]
server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java
server/src/main/java/com/vaadin/data/provider/InMemoryDataProvider.java [new file with mode: 0644]
server/src/main/java/com/vaadin/data/provider/InMemoryDataProviderHelpers.java [new file with mode: 0644]
server/src/main/java/com/vaadin/data/provider/InMemoryHierarchicalDataProvider.java [deleted file]
server/src/main/java/com/vaadin/data/provider/ListDataProvider.java
server/src/main/java/com/vaadin/data/provider/TreeDataProvider.java [new file with mode: 0644]
server/src/main/java/com/vaadin/ui/Tree.java
server/src/main/java/com/vaadin/ui/TreeGrid.java
server/src/test/java/com/vaadin/data/provider/InMemoryHierarchicalDataProviderTest.java [deleted file]
server/src/test/java/com/vaadin/data/provider/TreeDataProviderTest.java [new file with mode: 0644]
server/src/test/java/com/vaadin/tests/components/TreeTest.java
server/src/test/java/com/vaadin/tests/components/treegrid/TreeGridTest.java
server/src/test/java/com/vaadin/tests/server/ClassesSerializableTest.java
server/src/test/java/com/vaadin/tests/server/component/treegrid/TreeGridDeclarativeTest.java
uitest/src/main/java/com/vaadin/tests/components/tree/TreeBasicFeatures.java
uitest/src/main/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeatures.java
uitest/src/main/java/com/vaadin/tests/components/treegrid/TreeGridChangingHierarchy.java
uitest/src/main/java/com/vaadin/tests/components/treegrid/TreeGridHugeTree.java
uitest/src/main/java/com/vaadin/tests/components/treegrid/TreeGridHugeTreeNavigation.java
uitest/src/main/java/com/vaadin/tests/components/treegrid/TreeGridInitialExpand.java
uitest/src/main/java/com/vaadin/tests/performance/TreeGridMemory.java
uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridBasicFeaturesTest.java
uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridClientSortTest.java