aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify lambda expressions (#10198)Ahmed Ashour2017-10-205-30/+11
| | | | | | | | * Simplify lambda expressions And remove unneeded 'return' keyword. * Format
* Convert AbstractDateField not to be a LegacyComponent (#10148)Ahmed Ashour2017-10-131-12/+12
|
* Use Collection.isEmpty() (#10172)Ahmed Ashour2017-10-121-2/+2
|
* Fix typos (#10124)Ahmed Ashour2017-10-041-1/+1
|
* Registration to remove state.registeredEventListeners (fixes #9634) (#10130)Ahmed Ashour2017-10-041-0/+16
| | | This changes SharedState.registeredEventListeners to be a Map that keeps track of how many listeners of each type have been added, and handles unregistering of such listeners correctly.
* Use static import of Assert in tests (#10126)Ahmed Ashour2017-10-0386-819/+879
| | | | Also removes dependency on junit.framework.TestCase .
* Use enhanced for loop for arrays. (#10121)Ahmed Ashour2017-10-021-3/+1
|
* Use enhanced for loop instead of Iterator. (#10100)Ahmed Ashour2017-09-293-17/+7
|
* Use StandardCharsets.UTF_8 (#10113)Ahmed Ashour2017-09-297-28/+25
|
* Use interface instead of implementation (#10073)Ahmed Ashour2017-09-284-21/+21
|
* Use single character for StringBuilder.append (#10102)Ahmed Ashour2017-09-283-8/+8
|
* Add option to use PushState instead of URI fragments in Navigator (#10042)Teemu Suo-Anttila2017-09-271-7/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Navigator now by default uses pushState and normal URLs * added documentation for pushState and updated Navigator documentation * improving docs etc, adding one TODO to be solved before merging * pushState/replaceState no work better with changing titles * Making uri fragment navigator work when not using specially mapped UI * Revert to older default, add annotation for selecting * Fix tests, add null checks * Reorder if-clause, fix tests * Revert unnecessary test change * Use correct variable in UI, fix test clean up * Updates to JavaDocs, fix some methods and tests * Add comments, fix test ui, TODO for fallbacks * Navigation documentation, JavaDocs, removed TODOs * Documentation fixes * Improve JavaDocs * Fix link name in documentation * Improve throws declaration in getLocation * Change documentation about the PushState based navigation * Add since tags * Add since tags for UI
* Implement error level on client side (#9817)Adam Wagner2017-09-272-2/+2
| | | | | | | Add additional class names and style to components and error indicators to distinguish different error levels. Vaadin 8 implementation of #9816. Cherry picked changes and added compatibility package component changes and tests. Resolves #3139
* Fix DataCommunicator parameter not used in Grid constructor (#10075)JenoDK2017-09-262-0/+27
| | | Fixes #9944
* Construct array inline (#10068)Ahmed Ashour2017-09-237-7/+7
| | | And some trivial test enhancements
* Update modifier order to follow Java Specification suggestions (#10050)Ahmed Ashour2017-09-212-3/+3
| | | Also includes some other minor cleanup.
* Use String.isEmpty() (#10045)Ahmed Ashour2017-09-211-1/+1
|
* Remove unused methods (#10020)Ahmed Ashour2017-09-201-15/+1
|
* Use String.isEmpty()Ahmed Ashour2017-09-191-3/+3
|
* Add declarative support to Tree (#9881)Aleksi Hietanen2017-08-292-2/+174
| | | Closes #9838
* More user friendly fail message (was NullPointerException) (#9665)Dos Moonen2017-07-191-1/+6
| | | | | | | Yes, I should never have created "D:\eclipse workspaces" in the first place. No, I am not replacing "%20" with spaces, or creating an URI instance. "D:\eclipse%20workspaces" is a valid folder and I'm not willing to go down the rabbit hole and see what that turns into.
* Fix TreeGrid.getHierarchyColumn to use correct id (#9690)Teemu Suo-Anttila2017-07-181-0/+12
| | | Fixes #9661
* Delegate properties to Composite's root if possibleIlia Motornyi2017-07-131-8/+31
| | | Fixes #9670
* Add isUserOriginated to SelectedTabChangeEvent (#9580)Artur2017-06-291-0/+52
| | | Fixes #9545
* Add isExpanded() method to Tree and TreeGridHenri Sara2017-06-282-2/+5
| | | Fixes #9595
* Fix keymapper reverse mapping (#9535)Ilia Motornyi2017-06-212-22/+72
| | | Fixes #9470
* Add View.beforeLeave to support delayed navigationArtur2017-06-201-57/+142
|
* Make view parameter map available in ViewChangeEvent (#9529)Artur2017-06-151-0/+54
|
* Allow changing the renderer of hierarchy column in TreeGrid (#9514)Teemu Suo-Anttila2017-06-131-4/+2
| | | Addresses #9465
* Add getStateParameterMap to Navigator to get parameters as a map (#9517)Peter Lehto2017-06-131-18/+109
|
* Add support for Views which are not componentsArtur2017-06-121-4/+69
|
* Add pluggable connector id generator supportLeif Åstrand2017-06-121-11/+2
|
* Hide DataGenerator from Column API (#9351)Teemu Suo-Anttila2017-05-191-1/+30
|
* Add shorthand for adding a column with ComponentRendererPekka Hyvönen2017-05-191-3/+2
|
* Refactor common methods in in-memory data providers (#9308)Aleksi Hietanen2017-05-164-18/+19
| | | | | | * 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.
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-121-2/+2
| | | | | | | | * Refactor Html5 DnD client side based on API review - Moved classes to "correct" packages. - Removed method DragSourceExtension.clearDataTransferText() - Remove ButtonDragSource in favor of more generic API
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-024-20/+124
| | | | | | | 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 OSGi support #8830 #8827 #8828 #8829Mirjan Merruko2017-04-251-0/+2
| | | | | Use bnd-maven-plugin instead of maven-bundle-plugin and helper class, and add support for publishing static resources such as themes and widgetsets.
* Support using Composite and CustomComponent as a Design root class (#9017)Artur2017-04-188-0/+275
| | | Fixes #6043
* Fix problem when reading a nested Design based on a GridLayout (#9092)Artur2017-04-182-1/+47
| | | | | | | The parent Design must leave child handling to the nested design, when there are no children defined in the parent Design. This fixes a problem with com.vaadin.ui.GridLayout$OutOfBoundsException when the reading operation of the parent design tries to set number of rows according to its empty content.
* Composite component (#8952)Artur2017-04-181-1/+15
| | | | | | | | | | | | | | | | | A composite is included in the server side hierarchy and in the connector hierarchy on the client side but does not have its own widget or DOM. To ensure that captions etc are renderer correctly for the root contents, the client side connector returns both the widget and state for the content connector. Server side API related to width and height are automatically forwarded to the root component to enable easy use of the composite inside different layout configurations. Other server side API inherited from AbstractComponent is unwanted, should be optional and therefore throw an exception by default. Resolves #2458
* Binder with Nested Properties (#8923)chrosim2017-04-122-0/+75
|
* Fix bug column and row expand ratio are not persisted Tien Nguyen2017-04-041-6/+23
| | | Fixes #9009
* Make getValueProvider return ValueProvider (#8983)Leif Åstrand2017-03-311-0/+29
| | | | | | | | | * Make getValueProvider return ValueProvider The instance can only be a ValueProvider, but the getter previously returned a less specific type. Making the getter return ValueProvider makes it easier to reuse the provider in other contexts that require ValueProvider, e.g. when adding filters to a ListDataProvider.
* Move select all visible to multi selection model interface (#8627)Pekka Hyvönen2017-03-271-3/+4
|
* Remove support for transfer data type (#8910)Adam Wagner2017-03-221-4/+2
| | | | | | * Remove API for setting arbitrary drag data * Store the drag source component in the UI Fixes #8893
* Set column captions when reading grid from a design file (#8770)Artur2017-03-221-4/+2
| | | Fixes #8752
* Initial documentation for 8.1 Drag and Drop (#8867)Pekka Hyvönen2017-03-201-0/+61
| | | | | | * Initial documentation for 8.1 Drag and Drop Part of #8395
* Correctly write margin info for FormLayout into design files (#8804)Artur2017-03-163-23/+76
| | | Fixes #8800
* Hierarchical data (#8842)Aleksi Hietanen2017-03-162-0/+117
| | | | | | | * Initial HierarchicalDataProvider for TreeGrid * Initial in-memory hierarchical data implementation * TreeGrid declarative support Fixes #8611, Fixes #8620