summaryrefslogtreecommitdiffstats
path: root/shared/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Add criteria API to make it easier to set acceptance criteria for drag and ↵Adam Wagner2017-07-035-1/+418
| | | | | drop (#9605) Fixes #9600
* Fix bookkeeping assertion errorIlia Motornyi2017-06-301-1/+1
| | | Fixes #9584
* Create drag source and drop target extensions for tree grid (#9463)Adam Wagner2017-06-283-0/+115
| | | Resolves #9372
* Enable row height and content mode settings for Tree (#9540)Teemu Suo-Anttila2017-06-201-0/+2
| | | | | | | | | | * Enable row height setting for Tree * Add content mode for captions * Align expander element by default to top The content mode allows use of preformatted and HTML captions that bring value to row height Fixes #9411
* Add missing since tags (#9544)Henri Sara2017-06-151-0/+2
|
* Rewrite HierarchyMapper to consistently handle changes Teemu Suo-Anttila2017-06-151-3/+3
| | | | | | Fixes #9449 Fixes #9490 Fixes #9448 Fixes #9465
* Add mouse event details to the drop event (#9485)Adam Wagner2017-06-072-2/+10
| | | Fixes #9483
* Allow grid columns to optionally shrink to be narrower than contentsArtur2017-05-301-0/+4
| | | Fixes #8548
* Add MultiSelection support for Tree Component (#9354)Teemu Suo-Anttila2017-05-231-0/+27
|
* Show drop hints when dropping in empty Grid (#9353)Pekka Hyvönen2017-05-181-1/+7
| | | | Also makes sure that the drop location and target row return something sensible in drop event. Clarifies docs on drop location.
* Fix DnD issues regarding data type text (#9347)Adam Wagner2017-05-171-0/+13
| | | | | | | * 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 since tags for 8.1 (#9343)Henri Sara2017-05-172-0/+4
| | | | | | | * Add since tags for 8.1 Note that ConnectorTracker changes will probably be backported to 7.7 in #9331.
* Move HierarchicalDataCommunicatorConstants to the correct packageAleksi Hietanen2017-05-161-1/+1
|
* Rename TreeGridCommunicationConstants to HierarchicalDataCommunicatorConstantsAleksi Hietanen2017-05-161-3/+4
|
* Move CompositeState to different packageAleksi Hietanen2017-05-161-1/+1
|
* Add API to store any type of data in the dataTransfer object (#9319)Adam Wagner2017-05-163-15/+37
|
* Rename OSGi classes for Java naming conventions (#9320)Henri Sara2017-05-154-21/+31
| | | | | | - Rename OSGi to Osgi in class names. - Rename VaadinOSGiPortlet to OSGiVaadinPortlet for consistency with Spring, CDI etc. add-ons - Add missing javadoc
* Refactor Html5 DnD feature based on API review (#9306)Pekka Hyvönen2017-05-121-26/+0
| | | | | | | | * 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
* Poll server for changes at the end of each file upload (#9300)Adam Wagner2017-05-111-0/+5
| | | | * Poll server for changes at the end of each file upload
* Add mobile html5 dnd support using polyfill (#9282)Pekka Hyvönen2017-05-113-1/+26
| | | | | | | | | | | | | | | 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-114-0/+210
| | | Fixes #8891
* Update ES6 detection logic to match what Polymer is using (#9268)Artur2017-05-091-9/+17
|
* Add since tags for 8.0.6Teemu Suo-Anttila2017-05-081-0/+5
|
* Fix HTML5 DnD regression for FF (#9245)Pekka Hyvönen2017-05-053-9/+8
| | | | | | | | | | | | - 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.
* Add missing since tags for 8.1 (#9220)Henri Sara2017-05-031-0/+6
|
* Add an initial version of Tree component (#9212)Teemu Suo-Anttila2017-05-021-0/+22
| | | | | | | 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
* Improve expand and collapse of items in TreeGrid (#9159)Aleksi Hietanen2017-05-021-10/+12
| | | | | | | | | | | | | Fixes a race condition when expanding multiple items. Only one expand or collapse request should be sent from the client before waiting for a response, otherwise the indexing in subsequent requests will be incorrect. Adds API to collapse and expand multiple items from the server, reducing the amount of round trips with multiple item expands and collapses. HierarchyMapper now correctly keeps expanded nodes expanded if their parent is collapsed.
* Add since tags for 8.1Henri Sara2017-04-274-0/+32
|
* Add an option for defining number of visible items in a NativeSelect (#9109)Artur2017-04-261-0/+4
|
* Make TreeGrid follow framework style conventionsAleksi Hietanen2017-04-261-1/+5
|
* Detect Chrome on iOS as Chrome + Webkit (#9138)Artur2017-04-251-2/+18
|
* Clarify javadoc for OSGi related interfacesHenri Sara2017-04-252-0/+10
|
* Convenience API for registering themes and widgetsetsMirjan Merruko2017-04-255-32/+372
|
* Add OSGi support #8830 #8827 #8828 #8829Mirjan Merruko2017-04-253-0/+280
| | | | | Use bnd-maven-plugin instead of maven-bundle-plugin and helper class, and add support for publishing static resources such as themes and widgetsets.
* Make it possible to set a Resource as drag image (#9088)Adam Wagner2017-04-251-0/+2
| | | | | Fixes #8892 Note that IE and Edge are not covered by this change - see #8977
* Add support for frontend:// using separate es5 and es6 foldersArtur2017-04-243-1/+78
|
* Include charset in text/html responses (#8777) (#9123)Ilia Motornyi2017-04-211-0/+5
| | | Addresses #8775 for version 8.1+
* Add/fill in missing @since tags for 8.1 (#9106)8.1.0.alpha6Henri Sara2017-04-197-21/+20
|
* Composite component (#8952)Artur2017-04-181-0/+27
| | | | | | | | | | | | | | | | | 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
* Add LoadStyle.NONE for completely omitting a connectorLeif Åstrand2017-04-131-1/+7
|
* Use separate identifier for push connections8.1.0.alpha5Aleksi Hietanen2017-04-131-1/+8
| | | Closes #8700
* Create combined drop mode to allow both on_top and between drops (#9063)Adam Wagner2017-04-132-0/+22
| | | Resolves #8932
* Correctly set ListSelect style namesArtur2017-04-131-1/+2
| | | Fixes #8901
* Remove Extension suffix from Grid DND classes (#9035)Adam Wagner2017-04-124-6/+6
|
* Make it possible to drop things between Grid rows (#8979)Adam Wagner2017-04-124-1/+86
| | | | Fixes #8401
* Provide dragged Grid items in server side (#8950)Adam Wagner2017-04-122-1/+51
| | | | Fixes #8931
* Make it possible to drop things on top of Grid rows (#8747)Adam Wagner2017-04-123-5/+67
| | | | Fixes #8400
* Make Grid rows draggable (#8690)Adam Wagner2017-04-121-0/+38
| | | | | | It is possible to customize the drag data for each row. (#8706) Fixes #8396
* Fix initial expand of TreeGrid itemsAleksi Hietanen2017-04-111-0/+5
| | | Fixes #9050
* Make Button component draggable (#9038)Adam Wagner2017-04-101-0/+26
| | | | | | * Make Button component draggable (#9037) * Add own state to button drag source