aboutsummaryrefslogtreecommitdiffstats
path: root/shared
Commit message (Collapse)AuthorAgeFilesLines
* Initial import of TypedGrid component Teemu Suo-Anttila2016-03-144-0/+92
| | | | | | This patch introduces a generics version of Grid. Change-Id: I0777a0468ccb5f38e266aa0f33ceb8d0324d72dd
* Add simple ListBox component to use with the DataProviderTeemu Suo-Anttila2016-03-052-0/+56
| | | | | | | This patch changes the DummyDataProvider test to use the ListBox storing runnables instead of Buttons with actions. Change-Id: Ie3831ccbd397eb2c145cf2c036fa5e512dcfa230
* Split Filtering and page requests to different RPC callsTeemu Suo-Anttila2016-03-041-0/+24
| | | | Change-Id: I6c0a25f73ba98bf73f1df8382769aed98c3adc11
* Remove unnecessary size parameter from data reset in simple modeTeemu Suo-Anttila2016-02-051-5/+2
| | | Change-Id: I861cf9ed99637cd74ecb2f65705a2c7717afbd08
* Add simple data update support to DataProviderTeemu Suo-Anttila2016-02-031-0/+8
| | | | | | | | This patch adds the option of updating an existing data object. Update is done on the next client response to catch any possible changes before and after the update is initiated. Change-Id: I30ca4803dd7c47befcb8e5ae761860c09cbdb8bd
* Use key mapping to keep track of data on the client-sideTeemu Suo-Anttila2016-02-021-4/+4
| | | | | | | | This method fixes data removing to be based on the key mapping instead of data content. Also the data clean up is now properly called when dropping data objects. Change-Id: I76a917968026f6c3b2693b52848448de92145fb1
* Add DataKeyMapper to correctly keep track of active dataTeemu Suo-Anttila2016-02-022-1/+30
| | | | | | | Added a simple test that checks transported data correctness. Also provides clean up method to TypedDataGenerator, even though it's not called actually yet. Change-Id: Icef69790732922b63a9874c9b1a6b44d4d682887
* Add simple data add/remove support to DataProviderTeemu Suo-Anttila2016-02-021-0/+18
| | | | | | | | Removal is currently based on the content of the object. Multiple objects with same content will cause problems. This should be fixed by adding a simple key mapping for objects. Change-Id: Ie6fd1c6bcb7e8eaa73469f8f794f5365b1590fe2
* Implement TypedDataGenerator support and clean up client-side codeTeemu Suo-Anttila2016-02-021-0/+5
| | | | Change-Id: I96080e2344ca0626940635dde77f2715c9d62c7b
* Add data communication for DataProvider for CollectionsTeemu Suo-Anttila2016-02-011-0/+46
| | | | | | | After this patch, the object is passed to the client-side as a JsonObject containing a key "k" with value from object.toString() Change-Id: I3f83144a6c84dda9812739ff2f2cb74cb5577d5c
* Request ComboBox pages with RPC (#19929)Henri Sara2016-01-151-0/+11
| | | | | | | | | | All client to server communication of ComboBox is now done with RPC. There is still an empty changeVariables() methods to override the default behavior in AbstractSelect. Change-Id: Ic11ea48cac1846272609f6e4107bb0006d18494c
* Move ComboBox filtering mode to state (#19929)Henri Sara2016-01-151-0/+7
| | | | Change-Id: Ida38de55e1fc06aa6ec5e693f34cd5bc14ac4fc5
* Move ComboBox pageLength to state (#19929)Henri Sara2016-01-151-0/+4
| | | | | | | Use shared state for the page length and update related tests. This change also removes an unused widget field. Change-Id: Id8719661121a9570be40028da09e32f27bec82b5
* Send ComboBox selection with RPC (#19929)Henri Sara2016-01-151-0/+8
| | | | | | Send the selection from the client to the server with RPC. Change-Id: Ic32d869c3dc2a8806f9c7cfd1f3db8263a5379a9
* Create new items with RPC (#19929)Henri Sara2016-01-151-1/+8
| | | | | | | When the user creates a new item, send it with client to server RPC. Change-Id: I1b92073dc2791911e4916d17f749dc1f35e54bca
* Create ComboBoxServerRpc stub (#19229)Henri Sara2016-01-151-0/+27
| | | | | | Create an empty client to server RPC implementation for ComboBox. Change-Id: I348208fefb267765814383559e55866bc0933e4b
* Use shared state in ComboBox (#19229)Henri Sara2016-01-152-27/+18
| | | | | | | This change uses shared state for the read-only flag, text input allowed flag and input prompt. Change-Id: I3bdc6843288c5309311461a3d036293d79004e22
* Fix empty @since tagsHenri Sara2015-12-182-2/+2
| | | | Change-Id: I68dd71f65091a6c5979b67c2faea9050feac2b02
* Make it possible to only show collapsible columns in menu (#9811)Leif Åstrand2015-12-163-0/+49
| | | Change-Id: I52cd2648d305f44d5688e7a2fcd222e6b167b97b
* Update @since tags for 7.6Henri Sara2015-10-2710-10/+10
| | | | Change-Id: Ic0a9b69c535ec51ae29472844506efb61ec5f0a7
* Provide own states for a number of components (#18987).Denis Anisimov2015-10-1611-10/+189
| | | | Change-Id: I9fe4a332bb8170a6482610d1b83bad73e049a3a1
* Fix empty @since for 7.6.alpha7Markus Koivisto2015-10-092-2/+2
| | | | Change-Id: I97e36b388ce0002363a8022eed41d425f12b822d
* Report user-resized column widths to server (#16838)Johannes Dahlström2015-10-081-1/+12
| | | | Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97
* Add API for setting Grid columns resizable (#16838)Johannes Dahlström2015-10-081-3/+6
| | | | | | | By default columns can be drag-resized by the user. This can be changed on a column-by-column basis. Change-Id: I8354e270db9affe865d1444d6cccbe8c839a3b5b
* Update/add @since tags in javadocHenri Sara2015-10-078-5/+24
| | | | Change-Id: Ifd93251fdc20b93ad276c551796557bb9026766a
* Remove Grid EditorEvents and ListenersTeemu Suo-Anttila2015-10-071-25/+0
| | | | | | | The EditorEvent API is not mature and useful enough to be present in a stable release. Change-Id: Ia982cb1a6e7b6a3518ea0f187993a964aafa1d53
* Add support for TreeContextClickEvents (#19062)Teemu Suo-Anttila2015-10-051-0/+34
| | | | | | | | | | | | Tree connector now overrides the send context click event providing the row key to the server-side via RPC call. This is then passed on to a TreeContextClickEvent and fired to listeners. This patch modifies the test base for context click testing by making it tolerate 1 piksel differences. This was to fix any subpixel related issues in coordinate comparison. Change-Id: Iacced274a6b518b5f89378cbc32b8381362e1e4f
* Add GridContextClickEvent with item ids, properties and section (#16855)Teemu Suo-Anttila2015-10-052-0/+26
| | | | Change-Id: I03091a3a7a22a921c127ed0b37fe792871ba5edd
* Add Tree.htmlContentsAllowed (#7717)Leif Åstrand2015-10-021-0/+2
| | | | Change-Id: I5c773da806b8358ee203c9c12fd2e2b6fec1970f
* Implement ContextClickEvent for Table (#19042)Teemu Suo-Anttila2015-10-022-0/+43
| | | | | | | This patch also introduces a testing infrastructure for context click event and listener testing. Change-Id: I3aa88758278c91086df3d0971edb34914a93fd29
* Add support for ContextClickEvent in AbstractComponent (#19015)Teemu Suo-Anttila2015-10-012-1/+30
| | | | Change-Id: I93d5d20925b8ac9b4b108ccc6deec2090e68aa0d
* Shorten "server connection lost" default timeout (#11733)Henri Sara2015-09-291-1/+1
| | | | Change-Id: Ida7f107edc63bfda3b91f86410439a84af050d73
* Adds support for defining the URL to use for push requests (#18989)Artur Signell2015-09-241-0/+1
| | | Change-Id: I12afaf7e5c5c385f3a19c7dab60f044d8721e082
* Update @since tags for 7.6.Mika Murtojarvi2015-09-086-6/+6
| | | | Change-Id: I69df09f371aae61f9e1ef741814f6e3016510fe2
* Change reconnect modality default (#11733)Artur Signell2015-09-081-1/+1
| | | | Change-Id: I689bc628e081e1232447038a6b263080d1fae73b
* Fix SingleSelectionModel deselectAllowed default value (#18811)Teemu Suo-Anttila2015-09-071-1/+1
| | | | Change-Id: Ib19c9291d2b777fb5c5d2a0ea45cf9d231115da7
* Merge remote-tracking branch 'origin/master' into reconnect-dialogArtur Signell2015-09-0412-61/+267
|\ | | | | | | Change-Id: Ie622160a83116c83b255a26bec297f73f3223ac7
| * Redesign RpcDataSourceConnector pinning RPC requests (#18692)Teemu Suo-Anttila2015-09-021-14/+0
| | | | | | | | | | | | This patch removes DataProviderKeyMapper which was mostly dead code already. Uses a regular KeyMapper instead. Change-Id: Ic97d1dc827d45fde65bcddc0414bfe711032620c
| * Refactor Grid SelectionModels as extensions (#18624)Teemu Suo-Anttila2015-09-018-29/+164
| | | | | | | | | | | | | | This patch removes all selection related variables and API from several core parts of Grid. Change-Id: Idb7aa48fda69ded1ef58a69c1f7dbc78b7f52a54
| * Fix empty @since tags for 7.6.0.alpha47.6.0.alpha4Johannes Dahlström2015-08-262-2/+2
| | | | | | | | Change-Id: I9f223ec2d49a4a851f5e5808cc325c52717191ee
| * Fix AbstractRemoteDataSource cache clearing (#18630)Teemu Suo-Anttila2015-08-211-4/+6
| | | | | | | | | | | | | | This patch also reduces the amount of RPC calls when dropping rows from cache. Change-Id: Ib69a807883bc885dcd877a008cec16e44fa2bfdd
| * Column collapse events for Table (#6914)Artur Signell2015-08-211-0/+1
| | | | | | | | Change-Id: Ifeb081086a4231f75f07f4d26c56ec22e72ce5d1
| * Merge branch 'master' into grid-unbuffered-editorHenri Sara2015-08-192-1/+25
| |\ | | | | | | | | | | | | | | | | | | Conflicts: server/src/com/vaadin/data/RpcDataProviderExtension.java Change-Id: I1bd55b03a8c114823ed8655fc89758f37b16e9c4
| | * Fix RpcDataProviderExtension to not rely on item indices (#18503)Teemu Suo-Anttila2015-08-182-1/+25
| | | | | | | | | | | | Change-Id: I68a77bee4ef8e7a859f3a3c143e6f5922decf025
| * | Merge branch 'master-before-18503' into grid-unbuffered-editorHenri Sara2015-08-192-0/+36
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: server/src/com/vaadin/data/RpcDataProviderExtension.java uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorTest.java Change-Id: I9e7907c9caf839fd043444db0505f9853f020a6a
| | * Add @since for change 11526 ticket #17590patrik2015-08-051-1/+1
| | | | | | | | | | | | Change-Id: I2154167c39384a122b06bbdaaac6c161e3fffd2f
| | * Update Select all -CheckBox from server and partial selections (#17590)Teppo Kurki2015-08-051-0/+11
| | | | | | | | | | | | Change-Id: I8f4986455029fc3b997ec5fee8916fa118a487ca
| | * Detect Edge correctly (#18537)Artur Signell2015-07-301-0/+25
| | | | | | | | | Change-Id: I6aa7e7b7498ff85489843e52bd351e54c4ba70f9
| * | Merge branch 'master-18493' into grid-unbuffered-editorHenri Sara2015-08-192-34/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: client/src/com/vaadin/client/connectors/GridConnector.java server/src/com/vaadin/data/RpcDataProviderExtension.java server/src/com/vaadin/ui/Grid.java Change-Id: Ie8931fbae322c93aeb409e8a6d393623ba9d9dc6
| | * Fix DetailsRow communication use connector IDs (#18493)Teemu Suo-Anttila2015-07-212-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Details are now initialized when they are made visible. The old way of requesting when seen caused a lot of problems when moving stuff around. Now uses less communication, but reserves a bit extra resources due to all details components being in the hierarchy. Change-Id: I1c1163bdc306f5b86e5e0f6e2bbf2801e65c2243