aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | Rename SelectionChangeEvent and SortOrderChangeEvent (#13334)Teemu Suo-Anttila2014-12-126-87/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also renames related listeners and notifiers. Change-Id: I96bfdae8173a1c691623938cc7dbcddee7198e46
| | * | | | | | | | | | Split CellStyleGenerator into separate cell and row style generatorsArtur Signell2014-12-122-27/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#13334) Change-Id: If07018b6f74ff1a4c616705f61b6118647d64342
| | * | | | | | | | | | Add expand and min/max width for GridColumns (#13334)Henrik Paul2014-12-121-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6cb2f4a11d97c3704c1fd8f8571889f1a8d5c4b8
| | * | | | | | | | | | Refactor server-side editor row to work in real(er) cases (#13334)Leif Åstrand2014-12-124-218/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't configure fields for properties without columns - Rename "bind" to "set" to match the getter - Make it possible to get a field before editing has started - Remove setting of editable since the field can be configured directly - Remove error handler concept since we have not tests and no use cases - Unbind and detach field when removing a column Change-Id: I38ead4e680cdbab2525fe08ff09ed045255e2d4f
| | * | | | | | | | | | Remove unnecessary @since and @author JavaDoc markings (#13334)Teemu Suo-Anttila2014-12-121-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5fe9fb9a5ec27ec047ef2286bd429efabaa0e818
| | * | | | | | | | | | Remove SortEventOriginator and replace it with a boolean (#13334)Teemu Suo-Anttila2014-12-122-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8a203c5e2f4bc9074ccf3cb4e7f347f17d89fe52
| | * | | | | | | | | | Merge remote-tracking branch 'origin/master' into gridArtur Signell2014-12-1248-218/+913
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: server/tests/src/com/vaadin/data/util/BeanItemContainerTest.java Change-Id: I04938bd8c5b4f01c3ca801c9f7adbb20d279523c
| | * | | | | | | | | | | Columns can now have subpixel accuracy widths (#13334)Henrik Paul2014-12-122-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1d16260be7b15c9fbdbfdd8f51e50e9f34e96272
| | * | | | | | | | | | | Do not prefix generated styles (#13334)Artur Signell2014-12-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unprefixed styles are easier to use, are consistent with header styles and multiple styles are consistent instead of the first one being prefixed. Change-Id: I9ef7502e2e9ece33982f6bf563f95458bf6ea63d
| | * | | | | | | | | | | Make AbstractRemoteDataSource easier to use (#13334)Leif Åstrand2014-12-121-31/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds a callback to requestRows so implementors know what to do when receiving data - Guestimate the initial amount of available rows so an initial request can be made before the actual size is known Change-Id: Iba44eab1695e3ff9947a4e7ed16eee55af98fec4
| | * | | | | | | | | | | Move Sort related helpers and events to correct packages (#13334)Teemu Suo-Anttila2014-12-1210-122/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3aa86364b61d42f971c4fca2b4c4895ddae870c4
| | * | | | | | | | | | | Make SelectionChangeEvent general and move it to event packacge (#13334)Teemu Suo-Anttila2014-12-116-91/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I232bf1d021dd95dfa3e9697cef4d8e9987da3373
| | * | | | | | | | | | | Move server-side SelectionModels inside Grid (#13334)Teemu Suo-Anttila2014-12-118-676/+577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I382ad0bcb192f44270eb60ec70d9141e8dd463f5
| | * | | | | | | | | | | Remove editor row discard methods; rename "commit" to "save" (#13334)Johannes Dahlström2014-12-111-24/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic7cec3c3750db8a2e0b23a4d38f63e9642999e3e
| | * | | | | | | | | | | Move Renderers to com.vaadin.ui.renderer package (#13334)Teemu Suo-Anttila2014-12-1113-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I80370f05cfa8123d64728abd5ede9642931e0cd8
| | * | | | | | | | | | | Fix selecting logic of SingleSelectionModel API (#13334)Teemu Suo-Anttila2014-12-115-28/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib48e586cb791669efc4aa98442a31c1dda42e1aa
| | * | | | | | | | | | | Split and capitalize header captions by defaultArtur Signell2014-12-103-40/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only done on the server side where we have property ids to generate the default headers from. On the client side you must always specify the header. Change-Id: Ic743fb3f52517116193b022cfdd2df7dea8dd487
| | * | | | | | | | | | | Add sanity checking to server side selection models (#13334)Teemu Suo-Anttila2014-12-105-7/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9686cdbf82c017f834502cf56eafe23ca9829d5f
| | * | | | | | | | | | | Render empty cell instead of stopping rendering if a converter is missingArtur Signell2014-12-102-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I64ef6bf6b89e2bfe9704cc81f3caf3b0f4271656
| | * | | | | | | | | | | Flattening server-side EditorRow API (#13334)Leif Åstrand2014-12-102-500/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit just flattens the EditorRow class into Grid without changing any behavior. isEditing() was changed to isEditorRowActive() since isEditorRowEditing() didn't make any sense. Some javadocs have also been slightly tweaked. Change-Id: I7c266328ea93bde3e476bfb6e4d594469de26c76
| | * | | | | | | | | | | Add Grid.addRow (#13334)Leif Åstrand2014-12-094-14/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2c317b920d29ca8a74658ef3b980c6bc2a7622ac
| | * | | | | | | | | | | Allow limiting server-side selection size (#13334)Leif Åstrand2014-12-092-83/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also refactors the handling of selections received from the client to cope with situations where the requested selection was not applied even though there were no additional selection events. Change-Id: Ia3b5b2ac228caa3755217deb38841cdfb5d63113
| | * | | | | | | | | | | Add getColumns function to Grid (#13334)Teemu Suo-Anttila2014-12-082-21/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Grid on the server side does many things with properties this patch also adds a way to get the backing property id for a column. Change-Id: Ia78c611a28b566593c3291681904ac14cf0c48ee
| | * | | | | | | | | | | Add select all / select none checkbox to SelectionColumn (#13334)Teemu Suo-Anttila2014-12-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5ad2d16b51f011004bb343a19b28b83d90c67c09
| | * | | | | | | | | | | Fix appendHeaderRow and appendFooterRow JavaDoc (#13334)Teemu Suo-Anttila2014-12-081-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib6d3b3f9ff38e6ec96b3b395794d7dee2e84cc0a
| | * | | | | | | | | | | Avoid non-fatal server-side assertions from selection tests (#13334)Leif Åstrand2014-12-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I44b00f1d41b763bfbcaa23eea80ebdb1925ea620
| | * | | | | | | | | | | Refactor frozen column API (#13334)Leif Åstrand2014-12-052-77/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0c9528d2a4b2de2bcd5a6a6e70b1821eb142c4cc
| | * | | | | | | | | | | Remove Column visibility setting from server side (#13334)Teemu Suo-Anttila2014-12-054-57/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2ef97672dd2085e9178f44fce39ead40bd84713c
| | * | | | | | | | | | | Fix Java 8 compatibilityJouni Koivuviita2014-12-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building the project using Java 8 fails due to method visibility issues. Apparently something changed from Java 7 regarding those rules. Change-Id: Ic28c9638636bd29bb0f6688733c83d9808bb5b4c
| | * | | | | | | | | | | Add server-side CellStyleGenerator (#13334)Leif Åstrand2014-12-042-1/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id12f1135673d93fddd0a59d26b1c546a0ef0ee1d
| | * | | | | | | | | | | Rename method to be consistent with Container.Viewer (#13334)Artur Signell2014-12-045-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If5431f81e4e799508eb6a067748dec356de43b2f
| | * | | | | | | | | | | Allow setting style name for header/footer rows (#7225)Artur Signell2014-12-041-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I798e26b0a734c3c460b4e458d04332c7a3b599fc
| | * | | | | | | | | | | Extend addColumn to support arbitrary data types (#13334)Teemu Suo-Anttila2014-12-042-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3bd9d4b6fb6c4b289421c6982ba28d893a97908e
| | * | | | | | | | | | | Fix addColumn to function correctly with non-default container (#13334)Teemu Suo-Anttila2014-12-043-14/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I57b3e819e4709187139cd52ac8f437252fcc738b
| | * | | | | | | | | | | Rename row key parameter for consistency (#13334)Leif Åstrand2014-12-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic409ec9c8f0146314fe359b184403e112264a75b
| | * | | | | | | | | | | Add column add and remove functionality to Grid (#13334)Teemu Suo-Anttila2014-12-033-54/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I967a71cafb85fcba8a708add2f5b0f5dc04d4c59
| | * | | | | | | | | | | Allow setting style names for header and footer cells (#7225)Artur Signell2014-12-011-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ieb8f5b36466a2d579e9c82f16613f6bc8952c831
| | * | | | | | | | | | | Make Grid.Column API setters fluid (#13334)Teemu Suo-Anttila2014-12-014-40/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3b160a265fe8bd16a97f895a05dc5e3a78314e07
| | * | | | | | | | | | | Clarify Header/Footer addRow(index) JavaDoc (#13334)Teemu Suo-Anttila2014-12-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ided3d7a4a61754d8445e9f4cd80cb1e7b05a400e
| | * | | | | | | | | | | Merge remote-tracking branch 'origin/master' into gridTeemu Suo-Anttila2014-11-289-42/+95
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1983d8a8c86caf75c4f5d32ee9367bbd6d58057c
| | * | | | | | | | | | | | Flatten Header and Footer API to be part of Grid API (#13334)Teemu Suo-Anttila2014-11-273-131/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I69975f0bbce0c026f68d06c30c77a3df00fad063
| | * | | | | | | | | | | | Move Grid to com.vaadin.ui package (#13334)Teemu Suo-Anttila2014-11-2627-3220/+3114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I326847fd190003af9125d1386b21d9ccfc6c36c2
| | * | | | | | | | | | | | Fix removing a merged property from headers and footers (#13334)Teemu Suo-Anttila2014-11-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1de668b73ebe0617e6100a2f8b2a84c7a94ad8a7
| | * | | | | | | | | | | | Rename a variable in GridStaticSection (#13334)Teemu Suo-Anttila2014-11-251-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3df6e70a275a9106ae97c8c54319a2b61efb8ca5
| | * | | | | | | | | | | | Fix Grid server-side header merging and setup (#13334)Teemu Suo-Anttila2014-11-255-53/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements simple error handling for broken headers and footers in client side. Change-Id: Ic1f1709720fa0b85e5c4c807462a9f9c7eb6f00e
| | * | | | | | | | | | | | Fix Grid setContainerDataSource to reset all columns (#13334)Teemu Suo-Anttila2014-11-142-18/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0ae94954d82503c78eacc845522db1f246398d03
| | * | | | | | | | | | | | Merge remote-tracking branch 'origin/master' into gridTeemu Suo-Anttila2014-11-1424-37/+499
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iec61d9242be530edbb76ba952746ba0f9c9bd966
| | * | | | | | | | | | | | | Make ImageRenderers emit click events (#13334)Johannes Dahlström2014-11-133-90/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1f98409e9787e1057ffaeebbe37427042a1e3233
| | * | | | | | | | | | | | | Fixes property change events after first render (#13334)Henrik Paul2014-11-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ief2e1763c7764009e9244ae4334ccacacc3bb205
| | * | | | | | | | | | | | | Prevent row insert/remove RPC calls before client init (#13334)Teemu Suo-Anttila2014-11-051-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I61eae7c74bc148aebf37d382b3ee2a9e14d389b2