aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/data
Commit message (Collapse)AuthorAgeFilesLines
* Fix AbstractSingleSelect selection and state updates (#10796)Teemu Suo-Anttila2018-04-191-24/+4
|
* Fix Grid not updating selected item immediately (#10569)Teemu Suo-Anttila2018-01-251-5/+17
|
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-262-5/+7
| | | Also use "event" as the name for events
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-202-19/+14
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Use interface instead of implementation (#10073)Ahmed Ashour2017-09-281-1/+1
|
* Fix javadoc references (#10067)Ahmed Ashour2017-09-231-2/+0
| | | And remove unused imports.
* Fix keymapper reverse mapping (#9535)Ilia Motornyi2017-06-211-0/+109
| | | Fixes #9470
* Correctly use id to identify data when refreshing (#9398)Teemu Suo-Anttila2017-05-231-0/+118
| | | | | | This patch refactors the internals of Grid single selection model implementation. Fixes #9380
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-021-0/+62
| | | | | | | This patch introduces a Tree component, implemented as a Composite using TreeGrid. As initial version of the component, some functionality of the old Tree component has been left out for now. Partly addresses #8617
* Add APIs to inform components of stale objects in DataProvider (#8271)Teemu Suo-Anttila2017-01-251-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add DataProvider refreshItem for single item update * Add 'id' concept for DataProviders This patch also adds a simplified data provider that can replace items based on their id. This can be used to simulate stale objects from an actual backend. * Add refresh logic to Grid SelectionModels * Remove broken equals and hashCode * Refresh KeyMapper, clean up some methods * Fix UI.access in test * Fix tests and Grid single selection model * Do clean up before replacing data provider * Check correct variable for null value * Fix other selects, add generic tests * Code style fixes, removed assert * Merge remote-tracking branch 'origin/master' into 286_refresh_items * Fix documentation for refreshing an item * Improve introduction chapter, minor clarifications * Merge remote-tracking branch 'origin/master' into 287_refresh_items * Add missing parameters in unit tests
* Replace Listing with HasDataProvider and HasFilterableDataProvider (#8122)Leif Åstrand2017-01-131-2/+2
| | | | | | | | | | | | * Replace Listing with HasDataProvider and HasFilterableDataProvider The type parameters of the Listing interface does in practice mean that it isn't useful for anything. This patch replaces that interface with separate types for components that require filterable data providers and components that support any kind of data provider. The setItem methods are extracted to a common interface that is also directly implemented by AbstractListing.
* Correctly reset DataCommunicator when its DataProvider is changed (#8138)Aleksi Hietanen2017-01-101-0/+67
| | | | | | | | * Correctly reset DataCommunicator when its DataProvider is changed * Improve ReplaceDataProviderTest * Remove return type from AbstractListing.readItems
* Rename com.vaadin.server.data to com.vaadin.data.provider (#8004)Pekka Hyvönen2016-12-151-3/+3
| | | | | Renamed corresponding test packages too. Fixes vaadin/framework8-issues#110
* Type Listing for DataProvider to allow custom filter typesTeemu Suo-Anttila2016-11-281-2/+16
| | | | | | | | | | Listing has been moved from AbstractListing to each individual Component. ComboBox is now typed to String filter. Fixes issues with declarative read of items. Change-Id: I6918f9f8c426dcbd81546150c2cf9ed49a02bf50
* Renaming DataSource -> DataProvider to avoid collisions with ↵elmot2016-11-111-8/+8
| | | | | | javax.sql.DataSource Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11
* Remove HasValue from GridPekka Hyvönen2016-11-101-10/+4
| | | | | | | | | | | | | | | | | | | Extracts grid single selection into separate class, which is an extension like in V7. Using an extension makes it possible to easily add multiselect and no-select modes back, and support custom selection models. Adds Grid:asSingleSelect() SingleSelect so that grid can be used as a Select in a binder. Removes all remaining references to SelectionModels in Listings. Renames SingleSelectionChangeEvent to SingleSelectionEvent, because then it is unified with selection listener and MultiSelectionEvent. Fixes vaadin/framework8-issues#424 Fixes vaadin/framework8-issues#425 Change-Id: Ie22bef29cfd4336c3f65d4e63531c578b8dd76a3
* Create MultiSelect interface to replace Multi selection model.Denis Anisimov2016-11-041-32/+17
| | | | | | Fixes vaadin/framework8-issues#423 Change-Id: Ifd252b8feed323708a7ae73af2b836832570d192
* Make SelectionModel API only server side.Denis Anisimov2016-11-021-1/+1
| | | | | | | Client side doesn't use selection model anymore. Fixes vaadin/framework8-issues#421 Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75
* Do not derive DataSource from Function and replace apply method #307.Denis Anisimov2016-10-031-2/+2
| | | | Change-Id: Ic0587e75c9a50c802a64673b1db0b8828b37889c
* Fix empty data source client-side eventsTeemu Suo-Anttila2016-09-071-0/+3
| | | | Change-Id: I7e84fd01cf2ec46b18af960712226a48f600f623
* Add simple data change handling for SelectsTeemu Suo-Anttila2016-09-011-0/+117
| | | | Change-Id: I16f9577ea4091fb4febe167d76e141b5945f53ab
* Format using Eclipse NeonArtur Signell2016-08-182-4/+4
| | | | Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
* Build uitest war with mavenTeemu Suo-Anttila2016-04-159-0/+522
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda