]> source.dussan.org Git - vaadin-framework.git/commit
DataSource.refreshAll() for notifying components to reload (#233).
authorDenis Anisimov <denis@vaadin.com>
Mon, 12 Sep 2016 13:52:13 +0000 (16:52 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 14 Sep 2016 11:41:25 +0000 (11:41 +0000)
commit62d712fb4514b2ed118539f43967c9b24d906518
tree4fe5dc00f8eac65a42c51ef893edeb397e62d093
parent4aac5294bba6eff216cddaa826b7739494376ff7
DataSource.refreshAll() for notifying components to reload (#233).

The method refreshAll() fires an event which is handled by UI components
to reload their content.

Change-Id: Ibbbe1f24b08ed883f0dda93c3ff6f05f380e9eaa
14 files changed:
server/src/main/java/com/vaadin/server/data/AbstractDataSource.java [new file with mode: 0644]
server/src/main/java/com/vaadin/server/data/BackEndDataSource.java
server/src/main/java/com/vaadin/server/data/DataChangeEvent.java [new file with mode: 0644]
server/src/main/java/com/vaadin/server/data/DataCommunicator.java
server/src/main/java/com/vaadin/server/data/DataSource.java
server/src/main/java/com/vaadin/server/data/DataSourceListener.java [new file with mode: 0644]
server/src/main/java/com/vaadin/server/data/ListDataSource.java
server/src/test/java/com/vaadin/server/data/AbstractDataSourceTest.java [new file with mode: 0644]
server/src/test/java/com/vaadin/server/data/DataCommunicatorTest.java [new file with mode: 0644]
server/src/test/java/com/vaadin/server/data/datasource/ListDataSourceTest.java
server/src/test/java/com/vaadin/server/data/datasource/StrBean.java
server/src/test/java/com/vaadin/ui/AbstractListingTest.java
uitest/src/main/java/com/vaadin/tests/components/grid/basics/RefreshDataSource.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/grid/basics/RefreshDataSourceTest.java [new file with mode: 0644]