aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main
Commit message (Collapse)AuthorAgeFilesLines
* Fix javadoc for Notification TYPE_TRAY_NOTIFICATION (#10479)Marco Collovati2018-01-101-1/+1
| | | Fixes #10434
* Update Grid.addColumn JavaDoc to tell about nested properties (#10431)Olli Tietäväinen2018-01-101-1/+8
|
* Backport fix for removing Notifications on close (#10504)Teemu Suo-Anttila2018-01-101-3/+23
|
* Prevent killing UI if heartbeats are pending (#10371)Teemu Suo-Anttila2017-12-071-5/+18
| | | Fixes #9663
* Improve Binder JavaDocs and APIs (#10347)8.2.0.beta1Teemu Suo-Anttila2017-11-211-7/+22
| | | This patch also adds ValueChangeEvent as a parameter to field value change method in Binder.
* Create DescriptionGenerator in package com.vaadin.ui (#10346)Aleksi Hietanen2017-11-216-7/+36
| | | | Deprecate com.vaadin.ui.components.grid.DescriptionGenerator and subclass it from the new DescriptionGenerator.
* Fix issues from API review for 8.2 (#10342)Aleksi Hietanen2017-11-2111-52/+49
| | | | | | | | | | | | | | | | | * 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.
* FileResource to use bufferSize, and StreamResource to use getCacheTime() ↵Ahmed Ashour2017-11-212-2/+3
| | | | (#10247)
* Remove unused imports (#10330)Ahmed Ashour2017-11-212-2/+1
|
* Rename GridDragger to GridRowDragger (#10333)Pekka Hyvönen2017-11-176-13/+13
| | | The old name GridDragger gave an impression that you're dragging the whole grid instead of rows.
* Add documentation on GridDragger (#10328)Pekka Hyvönen2017-11-164-5/+47
| | | | This pathc also switches GridDragger to by default not allow drops on rows when the grid has been sorted.
* Update since tags in JavaDoc (#10325)8.2.0.alpha3Teemu Suo-Anttila2017-11-1512-19/+19
|
* Add helper for Grid row DnD (#10255)Pekka Hyvönen2017-11-158-14/+682
| | | | | | | | | | | | | | | | | | * Added Griddragger. * Refactored the GridDragger to match FW style Unit tests, Test UI and documentation to come next. * Change DropMode to BETWEEN and add Test UIs * Simplify GridDragger API * Fixes and unit tests for GridDragger Fixed issues regarding drop index calculation when sourche and target grid is the same. When the ListDataProvider is not internally using List, always drops to the end. Updates the old data provider instead of creating a new one to preserve filters&sorting.
* Add new drop mode ON_GRID for GridDropTarget (#10296)Pekka Hyvönen2017-11-152-14/+129
| | | | | | | | | | | | | | | | | * Add new drop mode ON_GRID for GridDropTarget Also adds a way to not accept drops on rows when the user has sorted the grid. This way the bad UX can be avoided for showing the drop indicator for the wrong place when the grid has been sorted. This has not been made default behavior to GridDropTarget since it would change behavior compared to 8.1. Instead if is triggerable via API in GridDropTarget. * Refactor sorted grid drop logic to server side * Block setDropMode calls Blocking setDropMode set values if the grid has been sorted and drop on sorted rows is not allowed. The value is used once the grid is not sorted anymore or the drops are allowed on sorted rows.
* Fix TreeGrid to use correct super constructor (#10291)Jerome Meyer2017-11-141-26/+29
| | | Fixes #10195
* 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
|
* Set no-store headers on UIDL messagesLeif Åstrand2017-11-101-3/+9
| | | | UIDL might contain sensitive information that we should prevent from being stored anywhere.
* Add ContentMode for row and cell descriptions in Grid (#10282)Teemu Suo-Anttila2017-11-101-8/+60
|
* 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-063-6/+44
| | | | | | | | * Relax TreeGrid and Tree members access modifiers. Fixes #10292 * Fixes after review
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-013-57/+36
|
* Fix end of line comments, which were made by automatic formatter (#10234)Ahmed Ashour2017-10-315-13/+10
|
* Remove redundant interface already implemented by super class. (#10258)Ahmed Ashour2017-10-3122-49/+29
|
* add Grid.Column#get/setAssistiveCaption (#10219)Knoobie2017-10-301-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | * add Grid#Column#get/setAssistiveCaption * fix test and update doc * move testGridAssistiveCaption to GridTest * delete test file * delete test file * Delete GridAssistiveCaptionTest.java * Create GridAssistiveCaptionTest * Create GridAssistiveCaption * Rename GridAssistiveCaption to GridAssistiveCaption.java * Rename GridAssistiveCaptionTest to GridAssistiveCaptionTest.java * Reformat using eclipse
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-268-17/+21
| | | Also use "event" as the name for events
* Improve naming of fields and variables (#10242)Ahmed Ashour2017-10-2624-150/+148
| | | | | * Variable names to conform to naming convention. * Use static constants where it makes sense
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-2627-88/+88
|
* Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)Ahmed Ashour2017-10-231-0/+17
| | | | | | | | | | | * Grid column to be sortable when implemented/supported * Fix GridDeclarativeTest * Parameterize to Grid<Person> * Revert Parameterize to Grid<Person>, JDK with generics. * Assertions for other columns * Fix test Fixes #8792
* Grid.removeColumn() not to fail silently (Fixes #8056) (#10215)Ahmed Ashour2017-10-201-20/+26
| | | | | | | | | | * Grid.removeColumn() not to fail silently (Fixes #8056) * Compilation with JDK * Fix removeColumnByColumn_alreadyRemoved test * Use ExpectedException
* AbstractDateField.formatDate() to be abstract (#10186)Ahmed Ashour2017-10-202-53/+55
| | | | | | | | | | | | | | | | | | | | | | * AbstractDateField.formatDate to be abstract Remove invalidDateString paramter, as it can be deduced * Fix test * Remove AbstractDateField.getResolutionVariable VAbstractTextualDate: rename updateDateVariables() to updateBufferedResolutions() * Revert to use fixed value of MONDAY. * release notes * updateAndSendBufferedValues() * Missed call to updateAndSendBufferedValues(); * release note
* 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-2010-19/+19
| | | | | | * Fix typos * Fix
* Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)Ahmed Ashour2017-10-2018-37/+54
| | | | | | | | * Use .toLowerCase and .toUpperCase(Locale.ROOT) * Spaces * add spaces after if(
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-2021-103/+77
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* AbstractDateField: set value after being invalid (#10187)Ahmed Ashour2017-10-201-20/+19
| | | | Fixes #9763 Fixes #9978
* Fix some checkstyle warnings (#10179)Ahmed Ashour2017-10-133-26/+46
|
* Convert AbstractDateField not to be a LegacyComponent (#10148)Ahmed Ashour2017-10-131-174/+140
|
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-1210-10/+10
|
* Remove redundant null checks before an instanceof (#10173)Ahmed Ashour2017-10-123-3/+3
|
* 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-104-8/+6
|
* Remove unneeded .toString() (#10141)Ahmed Ashour2017-10-109-31/+31
|
* Edit grid row by index - server side (#10040)Piotr Wilkin2017-10-104-2/+49
| | | | | Opening grid editor from server side. Fixes #8477. Addressing #8820 will be the user's responsibility as fetching index of item might be slow.
* Use StringBuilder instead of StringBuffer (#10154)Ahmed Ashour2017-10-092-3/+3
|
* Add empty line at the end of files (#10142)Ahmed Ashour2017-10-066-6/+6
|