aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/data
Commit message (Collapse)AuthorAgeFilesLines
...
* Added method asRequired with a custom required validator to BindingBuilder. ↵Márcio P. Dantas2018-03-261-3/+27
| | | | (#10724)
* Fix ValueChangeListener order changes with Binder (#10745)Teemu Suo-Anttila2018-03-241-8/+10
| | | Fixes #9917
* Always return a fresh copy of BeanPropertySet from cache (#10635)Ilia Motornyi2018-03-241-39/+42
|
* Implement ReadOnlyHasValue helper (#10643)Ilia Motornyi2018-03-201-0/+119
|
* Add option to use error message provider for StringTo converters (#10711)Teemu Suo-Anttila2018-03-198-35/+271
|
* Add missing null check to Binding (#10726)Teemu Suo-Anttila2018-03-191-3/+5
| | | | * Add missing null check to Binding
* Add setReadOnly for Bindings (#10482)Teemu Suo-Anttila2018-02-081-23/+95
|
* Add recursive expand and collapse method to TreeGrid and Tree (#10283)Adam Wagner2018-02-082-45/+191
|
* Fix Grid initial render performance (#10579)Teemu Suo-Anttila2018-02-051-1/+0
| | | Fixes #10232
* Fix code example in DataProvider JavaDoc (#10601)Ilia Motornyi2018-02-051-1/+1
|
* Fix Grid not updating selected item immediately (#10569)Teemu Suo-Anttila2018-01-251-12/+9
|
* Add missing since tags and JavaDocs (#10487)8.3.0.alpha1Teemu Suo-Anttila2018-01-031-3/+6
|
* Treat fields as readonly when bound with null setter (#10477)Marco Collovati2017-12-291-0/+15
| | | Fixes #10476
* Make Binder.setReadonly ignore effectively readonly bindings (#10368)Marco Collovati2017-12-281-5/+13
| | | | | | | Binder.setReadonly will ignore bindings with null setter or property without an accessible setter when changing field read only flag. Fixes #10252
* Fix nested bean property name (#10271)schaerl2017-11-223-39/+24
| | | | | | | | | * Changed retrieval of names of nested properties (#10159) The getName() function in NestedBeanPropertyDefinition will return only the top level name, which causes problems when adding a nested property that has the same name as a non-nested (e.g "value" & "sub.value") This change should fix this behaviour by changing the return value of "getName()" of NestedBeanPropertyDefinition and introducing a function "getTopLevelName()" that only returns the last part of the full name for where it's needed
* Improve Binder JavaDocs and APIs (#10347)Teemu Suo-Anttila2017-11-211-7/+22
| | | This patch also adds ValueChangeEvent as a parameter to field value change method in Binder.
* Fix issues from API review for 8.2 (#10342)Aleksi Hietanen2017-11-211-3/+3
| | | | | | | | | | | | | | | | | * Rename HierarchicalDataCommunicator#getMapper to getHierarchyMapper * Make rpc field in Notification private * Change DropIndexCalculator.ALWAYS_DROP_TO_END to a generic static method * Move EditorImpl#editRow documentation to the interface level * Correct GridDragEndEvent, GridDragStartEvent constructor javadocs * Revert SharedState.registeredEventListeners to a Set * Rename GridDropTarget dropAllowedOnSortedGridRows * Rename ColumnState.contentMode to tooltipContentMode
* Extract AbstractBeanPropertyDefinition and PropertyFilterDefinition (#10344)Aleksi Hietanen2017-11-214-117/+192
| | | | | This commit extracts the private nested class AbstractBeanPropertyDefinition from BeanPropertySet to a public class of package com.vaadin.data. Additionally, the nested protected class PropertyFilterDefinition is extracted from NestedBeanPropertyDefinition to a public class in package com.vaadin.data.
* Update since tags in JavaDoc (#10325)8.2.0.alpha3Teemu Suo-Anttila2017-11-152-6/+6
|
* Improve nested property support for Binder (#9925)Olli Tietäväinen2017-11-142-10/+279
| | | Fixes #9210
* Add API to read Binding value from bean (#10316)Teemu Suo-Anttila2017-11-131-3/+22
|
* Relax mapper access in HierarchicalDataCommunicator Ilia Motornyi2017-11-101-0/+8
| | | Fixes #10292
* HasItems.setItems(T... items) should allow edits (#10290)Pekka Hyvönen2017-11-062-2/+4
| | | | | | | | | * HasItems.setItems(T... items) should allow edits Arrays.asList() creates a immutable Arrays.ArrayList, preventing users from doing dataProvider.getItems() and updating the returned collection. This makes it impossible to keep the same data provider, update it and keep the filters & sorting, and then just call dataProvider.refreshAll() to get changes visible. We should not require users to create a new data provider in this case. This is the same for DataProvider.ofItems(T... items) * fix missing whitespace from test error message
* Relax TreeGrid and Tree members access modifiers. (#10293)Ilia Motornyi2017-11-062-5/+34
| | | | | | | | * Relax TreeGrid and Tree members access modifiers. Fixes #10292 * Fixes after review
* Remove redundant interface already implemented by super class. (#10258)Ahmed Ashour2017-10-312-4/+2
|
* Improve naming of fields and variables (#10242)Ahmed Ashour2017-10-261-2/+2
| | | | | * Variable names to conform to naming convention. * Use static constants where it makes sense
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-269-51/+51
|
* Added utility method Binder#asRequired() (#9873)Stephan Knitelius2017-10-201-0/+25
| | | | | | | | | * Added the possiblity of defining a Field as Required without setting an error message. * Added @since to asRequired() * Add droped paragraphs and see tag for asRequired(String)
* Fix typos (#10213)Ahmed Ashour2017-10-202-6/+6
| | | | | | * Fix typos * Fix
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-201-1/+1
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-207-28/+20
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-121-1/+1
|
* Add ErrorLevel to Validators and results (#10099)Teemu Suo-Anttila2017-10-115-51/+400
| | | Fixes #9792
* Fix Binder bean writing to only validate and write given bindings (#10162)Teemu Suo-Anttila2017-10-111-27/+53
|
* Prevent Grid refreshAll from getting stuck due mismatched state (#10161)Ansku2017-10-101-3/+0
| | | Fixes #10038
* Fix typos (#10158)Ahmed Ashour2017-10-101-4/+2
|
* Edit grid row by index - server side (#10040)Piotr Wilkin2017-10-102-2/+2
| | | | | Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
* Don't use synthetic methods for listener classes. (#10135)Ahmed Ashour2017-10-041-2/+2
| | | Fixes #9504
* Fix typos (#10124)Ahmed Ashour2017-10-041-4/+7
|
* First sentence of javadoc should end with a period (#10114)Ahmed Ashour2017-10-024-14/+20
| | | Also includes minor other javadoc and formatting fixes.
* Add since tags and update release notes (#10109)Henri Sara2017-09-281-23/+21
|
* Use interface instead of implementation (#10073)Ahmed Ashour2017-09-281-4/+7
|
* Fix BindingBuilder to always use the same instance (#10004)Teemu Suo-Anttila2017-09-261-13/+14
| | | | | | This allows using BindingBuilder either in a type safe chained manner or with separate calls for the same instance at the cost of less strict type checking. Fixes #9927 Fixes #9619
* Improve Binder value change handling with bean validation (#9988)Teemu Suo-Anttila2017-09-251-100/+163
| | | | | | | Changed values are now only applied to the bean when they pass both field and bean validation. Any change that breaks validation will be pending and is attempted to apply when another change event comes. This patch also makes the order of status change event handler and listener call order. This addresses some of the issues raised in #9955.
* Fix javadoc references (#10067)Ahmed Ashour2017-09-237-11/+6
| | | And remove unused imports.
* Update modifier order to follow Java Specification suggestions (#10050)Ahmed Ashour2017-09-211-1/+1
| | | Also includes some other minor cleanup.
* Add scroll logic from TreeGrid to Tree (#10005)Piotr Wilkin2017-09-202-2/+2
| | | Fixes #9967
* Remove unused methods (#10020)Ahmed Ashour2017-09-201-17/+3
|
* Add API for running BindingValidationStatusHandlers (#9966)Teemu Suo-Anttila2017-09-193-11/+49
| | | This patch adds an API to Binding for accessing the validation status handlers from a custom BinderValidationStatusHandler.
* Optimize HierarchyMapper (#10003)Piotr Wilkin2017-09-191-10/+8
| | | Fixes parts of #9951, but does not address the issue of grouping pushed updates.