Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add HasHierarchicalDataProvider#setTreeData | Aleksi Hietanen | 2017-05-18 | 3 | -29/+13 | |
| | | | | Additionally removes TreeData constructors from Tree and TreeGrid. | |||||
* | Add stream variants for the child item provider shorthands (#9375) | Leif Åstrand | 2017-05-18 | 3 | -4/+86 | |
| | ||||||
* | Show drop hints when dropping in empty Grid (#9353) | Pekka Hyvönen | 2017-05-18 | 2 | -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 Åstrand | 2017-05-18 | 3 | -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 Hietanen | 2017-05-18 | 2 | -4/+9 | |
| | ||||||
* | Remove warning for shortcuts on disabled connector (#9352) | Olli Tietäväinen | 2017-05-18 | 1 | -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 Wagner | 2017-05-17 | 1 | -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 TreeGrid | Teemu Suo-Anttila | 2017-05-17 | 3 | -12/+76 | |
| | ||||||
* | Add convenience constructors for Tree component | Teemu Suo-Anttila | 2017-05-17 | 1 | -1/+51 | |
| | ||||||
* | Add example of how to use ComponentRenderer to JavaDoc | Teemu Suo-Anttila | 2017-05-17 | 1 | -0/+10 | |
| | ||||||
* | Add since tags for 8.1 (#9343) | Henri Sara | 2017-05-17 | 1 | -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 Wagner | 2017-05-17 | 1 | -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 class | Aleksi Hietanen | 2017-05-16 | 3 | -1/+126 | |
| | ||||||
* | Fix code review comments | Aleksi Hietanen | 2017-05-16 | 2 | -7/+16 | |
| | ||||||
* | Add ItemCollapseAllowedProvider interface | Aleksi Hietanen | 2017-05-16 | 4 | -7/+52 | |
| | ||||||
* | Add TreeGrid#getHierarchyColumn | Aleksi Hietanen | 2017-05-16 | 1 | -0/+10 | |
| | ||||||
* | Improve CollapseEvent and ExpandEvent javadocs | Aleksi Hietanen | 2017-05-16 | 2 | -4/+6 | |
| | ||||||
* | Move HierarchicalDataCommunicatorConstants to the correct package | Aleksi Hietanen | 2017-05-16 | 1 | -1/+1 | |
| | ||||||
* | Add convenience constructors to TreeGrid | Aleksi Hietanen | 2017-05-16 | 2 | -2/+120 | |
| | ||||||
* | Add javadocs to Grid#readData and writeData | Aleksi Hietanen | 2017-05-16 | 1 | -0/+28 | |
| | ||||||
* | Add setHierarchyColumn(column) overload to TreeGrid | Aleksi Hietanen | 2017-05-16 | 1 | -0/+24 | |
| | ||||||
* | Rename TreeGridCommunicationConstants to HierarchicalDataCommunicatorConstants | Aleksi Hietanen | 2017-05-16 | 1 | -7/+7 | |
| | ||||||
* | Remove redundant method getComponentCount from Composite | Aleksi Hietanen | 2017-05-16 | 1 | -10/+1 | |
| | ||||||
* | Add FunctionalInterface annotation to DependencyFilter | Aleksi Hietanen | 2017-05-16 | 1 | -0/+1 | |
| | ||||||
* | Wrap DataCommunicator#getBackEndSorting in an unmodifiable list | Aleksi Hietanen | 2017-05-16 | 1 | -2/+3 | |
| | ||||||
* | Move CompositeState to different package | Aleksi Hietanen | 2017-05-16 | 1 | -1/+1 | |
| | ||||||
* | Clarify HierarchicalQuery javadocs | Aleksi Hietanen | 2017-05-16 | 1 | -4/+7 | |
| | ||||||
* | Make CollapseListener and ExpandListener extend SerializableEventListener | Aleksi Hietanen | 2017-05-16 | 2 | -4/+2 | |
| | ||||||
* | Clean connector tracker after each access block to stop memory leaks (#9305) | Artur | 2017-05-16 | 6 | -25/+134 | |
| | | | | | Immediately clean connectors which the client side does not know about Fixes #9303 | |||||
* | Add API for multiple drag data generators (#9321) | Adam Wagner | 2017-05-16 | 1 | -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-Anttila | 2017-05-16 | 1 | -0/+82 | |
| | | | Fixes #9323 | |||||
* | Refactor common methods in in-memory data providers (#9308) | Aleksi Hietanen | 2017-05-16 | 14 | -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 Wagner | 2017-05-16 | 6 | -45/+189 | |
| | ||||||
* | Add events and functionality to Tree (#9318) | Teemu Suo-Anttila | 2017-05-16 | 1 | -0/+116 | |
| | | | | * Add ItemClick event to Tree * Add collapse provider and style generator to Tree | |||||
* | Rename OSGi classes for Java naming conventions (#9320) | Henri Sara | 2017-05-15 | 1 | -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önen | 2017-05-15 | 1 | -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önen | 2017-05-12 | 32 | -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) | Artur | 2017-05-12 | 2 | -1/+31 | |
| | | | Fixes #9291 | |||||
* | Create upload URLs only when stream variable is attached by drop handler (#9301) | Adam Wagner | 2017-05-11 | 2 | -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 Wagner | 2017-05-11 | 1 | -13/+21 | |
| | | | | * Poll server for changes at the end of each file upload | |||||
* | Add mobile html5 dnd support using polyfill (#9282) | Pekka Hyvönen | 2017-05-11 | 4 | -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 Wagner | 2017-05-11 | 3 | -0/+368 | |
| | | | Fixes #8891 | |||||
* | Reset HierarchicalDataCommunicator on changes (#9275) | Aleksi Hietanen | 2017-05-11 | 4 | -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.alpha7 | Ilia Motornyi | 2017-05-10 | 1 | -1/+1 | |
| | ||||||
* | Fix partly missing drag image regression on Safari | Pekka Hyvönen | 2017-05-10 | 1 | -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-Anttila | 2017-05-09 | 1 | -33/+33 | |
| | ||||||
* | Fix the missing focus and blur implementations (#9269) | Knoobie | 2017-05-09 | 1 | -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.6 | Teemu Suo-Anttila | 2017-05-08 | 2 | -12/+12 | |
| | ||||||
* | Fix bean validation when using sub property bindings (#9248) | Artur | 2017-05-08 | 3 | -15/+135 | |
| | | | Fixes #9242 | |||||
* | Fix HTML5 DnD regression for FF (#9245) | Pekka Hyvönen | 2017-05-05 | 4 | -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. |