aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Clarify set/addSortComparator parameter name (#8562)Leif Åstrand2017-02-141-9/+9
|
* Provide explicit locale in GridTest (#8525)Ilia Motornyi2017-02-141-1/+4
| | | Fixes #8524
* HTML5 Drag and Drop Support (#8264)Adam Wagner2017-02-108-0/+720
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add DragSource Extension (#8169) * Add DropTarget Extension (#8170) * Add DragStart Event to DragSource Extension (#8171) * Make DataTransfer.dropEffect configurable (#8174) * Make DragSource.dataTransfer data configurable (#8172) * Add server-side Event for drop (#8177) * Added license headers * Extract handler methods, move DropEvent and DropListener to new file, move enums to top * Replaced LinkedHashMap with Map and added List to preserve order of data * Add API for adding a JS acceptance criteria for dragover and drop (#8178, #8179) * Make DragSource Extension extendable (#8175) * Make DropTarget Extension extendable (#8176) * Added javadoc to protected methods * Moved EffectAllowed to shared so that it could be used in shared state directly * Moved DropEffect to separate file, some review fixes and javadoc * Added list to DropTargetRpc to preserve order of data * Remove event listeners on unregister * Changed method names set/getData() to more descriptive set/getTransferData() * Add server side dragStart event (#8171) * Add style to prevent text selection to allow drag * Remove target indicator style on drop * Add client side dragend event listener for drag source * Add server side dragend listener. Attach client side listener only when server side listener added. * Add drag source information to server side dragstart and dragend events. * Fixed some issues addressed in review * Trigger server side dragstart only when there is a listener attached * Criteria script can be set as null to clear * Use Js Interop instead of JSNI for handling event listeners * Use elemental package instead of Js Interop for handling event listeners * Add missing javadoc for public methods * Add default value "uninitialized" to effectAllowed parameter * Simple test UI for HTML5 DnD functionality (#8395) * Add javadoc and other minor changes
* Make Eclipse add vaadin-icons source folder (#8531)Henri Sara2017-02-101-1/+41
|
* Use column id as the default sort order property (#8529)Leif Åstrand2017-02-102-2/+63
|
* Include Vaadin-Icons into the project, (#8485)Ilia Motornyi2017-02-091-0/+47
| | | | | | Include Vaadin-Icons into the valo theme in the project, make vaadin-icons dependency 'provided' Fixes #8471
* Add shorthands for creating lazy DataProviders (#8511)Teemu Suo-Anttila2017-02-092-0/+112
|
* Clarify addComponentsAndExpand javadocs (#8516)Leif Åstrand2017-02-092-0/+8
|
* Binding a null bean should clear the bound field values (#8288)caalador2017-02-092-35/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add clear field values #8287 Added functionality to make it possible to clear bound field values manually or when setting a null bean to binder. Binder will now clear bound fields for setBean(null) or if using readBean() functionality when calling the clear() method. Binder.clear() will throw a IllegalStateException if we have a bound bean. * MultiSelectionModel MultiSelect should implement emptyValue * Removing public clear() method and clearing field values only through setBean(null) and readBean(null) to be consistent and not have confusing functionality. * Simplified clearFields() as we don't need to check if field is readOnly * Document in removeBean JavaDoc that it will also clear the bound fields if we have a bean the is removed. * Binder should not have changes after clearing fields. * Add getEmptyValue as default to MultiSelect. Multiselect default for empty value should be an empty set. * Revert "Add getEmptyValue as default to MultiSelect." This reverts commit 45de8f45c4a1e3e45ab8a0353ab2a48bb4f1be6f. * Merge branch 'master' into issue/8287_Clear_bound_fields * Remove override for default implementation. * Fire status change event on clearFields if we had changes before clearing. * Formatting.
* Add addComponentsAndExpand to horizontal and vertical layout (#8480)Leif Åstrand2017-02-084-0/+182
|
* Clarify javadocs for query values not used for counting (#8509)Leif Åstrand2017-02-081-4/+9
| | | Fixes #8489
* Allow configuring how string to number converters handle empty strings (#8506)Leif Åstrand2017-02-0814-29/+202
|
* Provide a convenience method to get items set via setItems(). Denis2017-02-086-15/+90
| | | Fixes #8357
* Extract data provider callbacks to named and documented interfaces (#8508)Leif Åstrand2017-02-082-27/+77
| | | Fixes #8488
* Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)Denis2017-02-085-0/+100
| | | Fixes #8422
* Fix removing and adding a column in grid (#8437)caalador2017-02-081-0/+1
| | | | | | | | | | | | | | * Added column should also be added to footer (#590) When adding (readding) a column the column should also be added to footer as it will be removed and iterator will request footer for it. * Add test for re-add column (#590) * To lowerCase using Locale * Fixed compilation problem. Too little sleep for a friday evening...
* Provide a way to configure bean binder to auto set required fields (#8460)Denis2017-02-085-3/+335
| | | | | | @NotNull, @Size(min>1), @NotEmpty annotations are handled via default configuration which marks fields as required. Fixes #8382
* Add javadoc explanation about how to create serializable comparators (#8505)Leif Åstrand2017-02-082-21/+17
| | | | | | Also removes the confusing SerializableComparator.asInstance method that was mainly introduced for internal use. Fixes #8367
* Throw if there are no automatically bound fields via bindInstanceFields. (#8481)Denis2017-02-082-24/+69
| | | | | | * Throw if there are no automatically bound fields via bindInstanceFields. Fixes #8362
* Add Grid.addColumn(String, Renderer) (#8470)Leif Åstrand2017-02-072-5/+64
| | | | * Add Grid.addColumn(String, Renderer)
* Added missing parametrisation onto the column field of the ↵SomeoneToIgnore2017-02-071-3/+3
| | | | | | GridContextClickEvent. (#8473) * Added missing parametrisation onto the column field of the GridContextClickEvent.
* Use thread-safe collections for VaadinService listeners (#7037)Leif Åstrand2017-02-071-40/+57
| | | Fixes #7250
* Make one-arg addColumn use natural sort for mutually comparable values (#8458)Leif Åstrand2017-02-075-25/+193
| | | | Fixes #8371 Fixes #8128
* Add isValid to Binder (#8274)Aleksi Hietanen2017-02-034-9/+116
| | | | | | | | | | | | | | | * Add isValid to Binder isValid enables you to check the current validation status of a given Binder, without firing events or invoking handlers. This patch also clarifies the javadocs of StatusChangeEvents' hasValidationErrors. * Throw in Binder.isValid if no bean is set and bean validators exist * Add test cases to BinderTest
* Add selection methods to grid that delegate to its selection model (#8315)Aleksi Hietanen2017-02-032-2/+99
| | | | | | | | * Add selection methods to grid that delegate to the selection model * Merge remote-tracking branch 'github/master' into 577-alt * Remove getFirstSelected, isSelected
* Add Grid editor events. (#8365)Denis2017-02-027-3/+430
| | | | | | | | | | * Migrate v7 Grid tests. Next round. Fixes #8419 * Add Grid editor events. Fixes #8202.
* Add default getEmptyValue for MultiSelect interface (#8420) (#8421)8.0.0.beta2caalador2017-02-022-5/+11
| | | | | | | * Add deafult getEmptyValue for MultiSelect interface (#8420) Added an default implementation for getEmptyValue to the MultiSelect interface.
* Add scrollTo methods to Grid (#8203) (#8410)caalador2017-02-021-0/+55
| | | | | | | | | | | | | | * Add scroll methods to serverside grid (#8203) Added scrollToTop(), scrollToEnd() and scrollTo(int row) * Fix scrolling to view of opened details (#8203) Removed dependency for DetailsManagerConnector from GridConnector. GridConnector now handles one off listeners. * Rename detailsRefresh to better show that it's one-off. Add missing copyright header.
* Add helpers for dealing with columns based on its id (#8411)Leif Åstrand2017-02-028-40/+506
| | | | | | | | | * Add helpers for dealing with columns based on its id setColumns(Column...) is removed since it's not possible to re-add a removed column instance. Fixes #8361
* Make it easy to invoke ServerRpc methods as part of unit tests (#8346)Artur2017-02-028-39/+42
| | | | | Executing RPC methods is useful when testing component interaction with the server. Not only inside the framework but also when creating add-ons and applications.
* Replace FontAwesome with Vaadin Icons (#8208)Pekka Hyvönen2017-02-014-13/+30
| | | | | | | * Include FontAwesome by default for easier migration * Fix JSComponentLoadingIndicatorTest Fixes #7979 Addresses part of #8219
* Make Grid add columns based on bean properties (#8392)Leif Åstrand2017-02-0111-98/+380
| | | | | | | | | * Make Grid add columns based on bean properties The property set concept used for Binder is slightly generalized and used by Grid as well to support similar functionality. Fixes vaadin/framework8-issues#250
* Introduce Binder.addFialdValueChangeListener (#8273)Denis2017-02-012-0/+195
| | | Fixes #8273
* Add a maven plugin for formatting according to Eclipse settingsLeif Åstrand2017-02-0111-87/+66
| | | | | Running formatter:format will format all files in a submodule using an embedded Eclipse compiler (based on Neon SR1) according to the regular formatting settings file.
* Add styling to the unsupported browser page (#570) (#8354)caalador2017-01-311-1/+47
|
* Patameterize the ValueChangeListeners for rebuilt fields (#8369) (#8388)caalador2017-01-318-42/+45
| | | | | | | * Patameterize the ValueChangeListeners for rebuilt fields (#8369) Listeners are now defined with the correct type parameter for each field type so the event.getValue() is what one would expect.
* Refactor editor API to use Binding instead of a component generator (#8368)Leif Åstrand2017-01-314-123/+129
| | | Fixes #8366
* Fix userOriginated state for CheckBox ValueChangeEvent from the user (#8383)Artur2017-01-302-1/+62
| | | | * Fix userOriginated state for CheckBox ValueChangeEvent from the user
* Add reference to Column.setId in javadocs of methods accepting col ids (#8360)Leif Åstrand2017-01-304-2/+14
|
* Fix NPE when grid is sorted by column with null values Ilia Motornyi2017-01-302-25/+180
| | | | | Fixes #8282
* Add convenience constructors to new components (#598) (#8351)caalador2017-01-3015-7/+955
| | | | | | Add convenience constructors (#598) Added convenience constructors to ui components that have been reimplemented for Vaadin 8
* Add regression tests for HasValue.getOptionalValue (#8352)Leif Åstrand2017-01-281-0/+44
|
* Introduce empty selection functionality for NativeSelect. (#8336)Denis2017-01-273-2/+82
| | | | | | * Introduce empty selection functionality for NativeSelect. Fixes vaadin/framework8-issues#545
* Allow to disable user selection in the grid model. (#8345)Denis2017-01-275-11/+44
| | | | | | * Allow to disable user selection in the grid model. Fixes vaadin/framework8-issues#546
* Add a default getOptionalValue() to HasValue (#8324)Giovanni Lovato2017-01-271-0/+13
| | | Fixes #8323
* Add convenience constructors for TextField (#597) (#8341)caalador2017-01-272-1/+120
| | | | | | | Add convenience constructors for TextField (#597) Added TextField convenience constructors similar to the ones found in Vaadin framework 7
* Implement GridSortOrder and SortOrderBuilders (#8338)Aleksi Hietanen2017-01-2711-38/+441
|
* Fix some faulty javaDoc namescaalador2017-01-2616-36/+22
|
* Extract Bean validation logic from Binder to BeanValidationBinderDenis2017-01-258-43/+94
| | | Fixes #8253
* Update @HtmlImport javadoc to match implementation (#8331)Artur2017-01-251-7/+8
|