aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add HasHierarchicalDataProvider#setTreeDataAleksi Hietanen2017-05-183-29/+13
| | | | Additionally removes TreeData constructors from Tree and TreeGrid.
* Add stream variants for the child item provider shorthands (#9375)Leif Åstrand2017-05-183-4/+86
|
* Show drop hints when dropping in empty Grid (#9353)Pekka Hyvönen2017-05-182-10/+32
| | | | Also makes sure that the drop location and target row return something sensible in drop event. Clarifies docs on drop location.
* Rename findAndFilterDependencies to findDependencies (#9366)Leif Åstrand2017-05-183-8/+8
| | | | | | | | The old findDependencies method is made private since it's only an implementation detail and should not be used from outside the class. At the same time, the new findAndFilterDependencies method is renamed to findDependencies since there's no longer necessary to have a name that distinguishes it from the variant that doesn't do any filtering.
* Clarify TreeData and TreeDataProvider javadocs, improve documentation (#9349)Aleksi Hietanen2017-05-182-4/+9
|
* Remove warning for shortcuts on disabled connector (#9352)Olli Tietäväinen2017-05-181-3/+0
| | | | | Remove unnecessary warning on server log when using shortcut on disabled connector. Fixes #6951
* Fix DnD issues regarding data type text (#9347)Adam Wagner2017-05-171-4/+21
| | | | | | | * First dragged data should not contain new line character at the beginning * Return any of "text", "Text" or "text/plain" in the method of getDataTransferText() * Set only data of type "text" for IE on dragstart * Clarify return of getDataTransferText() method * Ignore generated data that is null
* Add getters for providers to Tree and TreeGridTeemu Suo-Anttila2017-05-173-12/+76
|
* Add convenience constructors for Tree componentTeemu Suo-Anttila2017-05-171-1/+51
|
* Add example of how to use ComponentRenderer to JavaDocTeemu Suo-Anttila2017-05-171-0/+10
|
* Add since tags for 8.1 (#9343)Henri Sara2017-05-171-2/+2
| | | | | | | * Add since tags for 8.1 Note that ConnectorTracker changes will probably be backported to 7.7 in #9331.
* Make it possible for grid drop target to accept dragged data when grid is ↵Adam Wagner2017-05-171-3/+5
| | | | | | empty (#9332) * Make it possible for grid drop target to accept dragged data when grid is empty (#9068) * Make return type of getDropTargetRow() optional
* Add BackEndHierarchicalDataProvider and an abstract base classAleksi Hietanen2017-05-163-1/+126
|
* Fix code review commentsAleksi Hietanen2017-05-162-7/+16
|
* Add ItemCollapseAllowedProvider interfaceAleksi Hietanen2017-05-164-7/+52
|
* Add TreeGrid#getHierarchyColumnAleksi Hietanen2017-05-161-0/+10
|
* Improve CollapseEvent and ExpandEvent javadocsAleksi Hietanen2017-05-162-4/+6
|
* Move HierarchicalDataCommunicatorConstants to the correct packageAleksi Hietanen2017-05-161-1/+1
|
* Add convenience constructors to TreeGridAleksi Hietanen2017-05-162-2/+120
|
* Add javadocs to Grid#readData and writeDataAleksi Hietanen2017-05-161-0/+28
|
* Add setHierarchyColumn(column) overload to TreeGridAleksi Hietanen2017-05-161-0/+24
|
* Rename TreeGridCommunicationConstants to HierarchicalDataCommunicatorConstantsAleksi Hietanen2017-05-161-7/+7
|
* Remove redundant method getComponentCount from CompositeAleksi Hietanen2017-05-161-10/+1
|
* Add FunctionalInterface annotation to DependencyFilterAleksi Hietanen2017-05-161-0/+1
|
* Wrap DataCommunicator#getBackEndSorting in an unmodifiable listAleksi Hietanen2017-05-161-2/+3
|
* Move CompositeState to different packageAleksi Hietanen2017-05-161-1/+1
|
* Clarify HierarchicalQuery javadocsAleksi Hietanen2017-05-161-4/+7
|
* Make CollapseListener and ExpandListener extend SerializableEventListenerAleksi Hietanen2017-05-162-4/+2
|
* Clean connector tracker after each access block to stop memory leaks (#9305)Artur2017-05-166-25/+134
| | | | | Immediately clean connectors which the client side does not know about Fixes #9303
* Add API for multiple drag data generators (#9321)Adam Wagner2017-05-161-42/+78
| | | | * Add ability to set multiple drag data generators for any drag data type and change default to be accepted by spreadsheet applications such as Excel
* Adds a passthrough to root component for most Composite methods (#9324)Teemu Suo-Anttila2017-05-161-0/+82
| | | Fixes #9323
* Refactor common methods in in-memory data providers (#9308)Aleksi Hietanen2017-05-1614-729/+991
| | | | | | * 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.
* Add API to store any type of data in the dataTransfer object (#9319)Adam Wagner2017-05-166-45/+189
|
* Add events and functionality to Tree (#9318)Teemu Suo-Anttila2017-05-161-0/+116
| | | | * Add ItemClick event to Tree * Add collapse provider and style generator to Tree
* Rename OSGi classes for Java naming conventions (#9320)Henri Sara2017-05-151-3/+3
| | | | | | - Rename OSGi to Osgi in class names. - Rename VaadinOSGiPortlet to OSGiVaadinPortlet for consistency with Spring, CDI etc. add-ons - Add missing javadoc
* Fix DnD Polyfill to use isNan(i) instead of i===NaN (#9312)Pekka Hyvönen2017-05-151-1/+1
| | | A Beginners JS mistake. Used in the forked part of the polyfill, related PR for Polyfill has been updated.
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-1232-219/+246
| | | | | | | | * 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
* Properly remove service destroy listeners (#9304)Artur2017-05-122-1/+31
| | | Fixes #9291
* Create upload URLs only when stream variable is attached by drop handler (#9301)Adam Wagner2017-05-112-18/+35
| | | | | | * Create upload URLs only when stream variable is attached by drop handler * Add file size limit to test ui and remove label drop target
* Poll server for changes at the end of each file upload (#9300)Adam Wagner2017-05-111-13/+21
| | | | * Poll server for changes at the end of each file upload
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-114-3/+128
| | | | | | | | | | | | | | | First step of mobile DND support. - Add mobile html5 dnd support using polyfill - Adds a switch for enabling mobile html5 dnd support - Adds polyfill only when needed - Ignore native Android Chrome drag start because doesn't work properly (no dragend event fired) - Add documentation on enabling mobile HTML5 DnD support - Add mention of drag-drop-polyfill license - Fixed issue in polyfill when not using "snapback" - Add mention of forked polyfill Fixes #9174
* Make it possible to upload files by dropping them onto a drop target (#9277)Adam Wagner2017-05-113-0/+368
| | | Fixes #8891
* Reset HierarchicalDataCommunicator on changes (#9275)Aleksi Hietanen2017-05-114-54/+97
| | | | | | Reset HDC when encountering unexpected changes in the data. Additionally this patch fixes an issue with client and server caches getting out of sync during resets.
* Since tag update for 8.1.0.alpha78.1.0.alpha7Ilia Motornyi2017-05-101-1/+1
|
* Fix partly missing drag image regression on SafariPekka Hyvönen2017-05-101-0/+2
| | | | Doesn't fix #9261, drag image missing on Safari when dragging grid row because that has position: absolute and offset.
* Use variable name item instead of data in Grid (#9273)Teemu Suo-Anttila2017-05-091-33/+33
|
* Fix the missing focus and blur implementations (#9269)Knoobie2017-05-091-1/+4
| | | | Add (FieldEvents.FocusNotifier & FieldEvents.BlurNotifier) in AbstractTextField. The fields TextField, TextArea and PasswordField are the only focusable input fields where this Implementation is missing.
* Add since tags for 8.0.6Teemu Suo-Anttila2017-05-082-12/+12
|
* Fix bean validation when using sub property bindings (#9248)Artur2017-05-083-15/+135
| | | Fixes #9242
* Fix HTML5 DnD regression for FF (#9245)Pekka Hyvönen2017-05-054-90/+83
| | | | | | | | | | | | - Always set some drag data - Set the dropEffect on dragEnter and dragOver events on drop target - Send the dropEffect to server on drop event with disclaimer of current support - Remove _dragOverCriteria_ and use _dropCriteria_ for `dragenter`, `dragover` and `drop` criteria Tested manually basic DnD and Grid DnD on Mac with Chrome, Firefox, Safari. Safari is still missing drag image (regression). Tested manually basic DnD and Grid Dnd on Windows IE11 and Edge. Drop event for both is still not working properly #9174.