aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | Add expand and min/max width for GridColumns (#13334)Henrik Paul2014-12-129-97/+881
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6cb2f4a11d97c3704c1fd8f8571889f1a8d5c4b8
| | | * | | | | | | | | Refactor server-side editor row to work in real(er) cases (#13334)Leif Åstrand2014-12-127-219/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| | | * | | | | | | | | Patches up the themes for Grid a bit (#13334)Henrik Paul2014-12-126-80/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1231b8097d06d8230ddee640894ceaf749dab0ee
| | | * | | | | | | | | Remove SortEventOriginator and replace it with a boolean (#13334)Teemu Suo-Anttila2014-12-127-82/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8a203c5e2f4bc9074ccf3cb4e7f347f17d89fe52
| | | * | | | | | | | | Merge remote-tracking branch 'origin/master' into gridArtur Signell2014-12-12114-512/+3723
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: server/tests/src/com/vaadin/data/util/BeanItemContainerTest.java Change-Id: I04938bd8c5b4f01c3ca801c9f7adbb20d279523c
| | | * | | | | | | | | | Columns can now have subpixel accuracy widths (#13334)Henrik Paul2014-12-1213-105/+1040
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1d16260be7b15c9fbdbfdd8f51e50e9f34e96272
| | | * | | | | | | | | | Do not prefix generated styles (#13334)Artur Signell2014-12-124-77/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-129-132/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-1212-128/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-119-677/+578
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I382ad0bcb192f44270eb60ec70d9141e8dd463f5
| | | * | | | | | | | | | Remove editor row discard methods; rename "commit" to "save" (#13334)Johannes Dahlström2014-12-1110-175/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic7cec3c3750db8a2e0b23a4d38f63e9642999e3e
| | | * | | | | | | | | | Flatten client-side EditorRow API (#13334)Johannes Dahlström2014-12-114-21/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I44d8bf004616473481056bdaaa082a898b71438e
| | | * | | | | | | | | | Fix GridColumnAutoWidthClient test to use TestWidgetComponent (#13334)Teemu Suo-Anttila2014-12-114-38/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9189e0a547d2a40ebb61b30870194c27dd775b7c
| | | * | | | | | | | | | Move client-side EditorRow inside Grid (#13334)Johannes Dahlström2014-12-112-423/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step in the planned API flattening. Change-Id: I0127108b70131f328895dd8d7376c30b9a613464
| | | * | | | | | | | | | Move Renderers to com.vaadin.ui.renderer package (#13334)Teemu Suo-Anttila2014-12-1124-38/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I80370f05cfa8123d64728abd5ede9642931e0cd8
| | | * | | | | | | | | | Create harness for testing standalone widgets (#13334)Leif Åstrand2014-12-1113-157/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4cce45280c1b55f1c6e3efe7ea9485f2cf25d08a
| | | * | | | | | | | | | Add missing TestCategory annotations (#13334)Teemu Suo-Anttila2014-12-116-28/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iebae8ebe7fae01f886440b4f31e3a916c352baa8
| | | * | | | | | | | | | Fix selecting logic of SingleSelectionModel API (#13334)Teemu Suo-Anttila2014-12-115-28/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib48e586cb791669efc4aa98442a31c1dda42e1aa
| | | * | | | | | | | | | Fixes some JavaDoc (#13334)Henrik Paul2014-12-111-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's still a lot of things you could explain, but no time for that now. Change-Id: I9f3bffe4d14f41b6370f02d0cab05a7559d385c2
| | | * | | | | | | | | | Avoid eager cache refresh after insert and remove (#13334)Leif Åstrand2014-12-113-2/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By doing the cache coverage check lazily, multiple inserts or removes happening "at the same time" can be taken into account when deciding which rows to fetch. Change-Id: I25c8248a1ec4cae76484c959efd474c9a880d329
| | | * | | | | | | | | | Split and capitalize header captions by defaultArtur Signell2014-12-106-58/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-104-6/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I64ef6bf6b89e2bfe9704cc81f3caf3b0f4271656
| | | * | | | | | | | | | Fix client-side Fluid Sort API Javadoc (#13334)Artur Signell2014-12-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If5f8508cb8d4572fd8f9176b0a62dcdd61a321a9
| | | * | | | | | | | | | GridColumns can resize-to-fit. (#13334)Henrik Paul2014-12-1020-135/+676
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SelectionColumns do that now automatically. Colspanned cells get ignored Change-Id: Ie427ba8df43ad84786c381def8cec216297feb06
| | | * | | | | | | | | | Introduce GridClickEvents and handlers (#13334)Teemu Suo-Anttila2014-12-109-8/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch also adds body cell click selecting to single selection model to test this feature. Change-Id: I06819799c97457dc0e7bd38dd5855eb33ba91943
| | | * | | | | | | | | | Remove selection column from single selection model (#13334)Teemu Suo-Anttila2014-12-107-85/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes some changes to selection model logic and refactors the space selection handling from MultiSelectionRenderer to its own class. Change-Id: I5c4a7d68531a8b4f38991719ae54c9f87119e9a4
| | | * | | | | | | | | | Don't set frozen column count before columns have been updated (#13334)Leif Åstrand2014-12-104-1/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I63ab65dad6dacfb5dafe55147c18d3e4ec0e36a5
| | | * | | | | | | | | | Flattening server-side EditorRow API (#13334)Leif Åstrand2014-12-104-508/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * | | | | | | | | | Fix Grid client side column adding functions to return columns (#13334)Teemu Suo-Anttila2014-12-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I65e095e3af1313f67a24153c5bb0d3b73744a859
| | | * | | | | | | | | | Fix broken import (#13334)Leif Åstrand2014-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib6c4394d40eb6d43c7b757bf2b65b7d2bac212bd
| | | * | | | | | | | | | Add Grid.addRow (#13334)Leif Åstrand2014-12-096-14/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2c317b920d29ca8a74658ef3b980c6bc2a7622ac
| | | * | | | | | | | | | Move GridElement to appropriate package (#13334)Teemu Suo-Anttila2014-12-0922-26/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I868635f057680be4ee5b995155e7f3f48f375819
| | | * | | | | | | | | | Allow limiting server-side selection size (#13334)Leif Åstrand2014-12-093-83/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | * | | | | | | | | | Make client side grid column API fluid (#13334)Teemu Suo-Anttila2014-12-091-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iba646d7be5d159b8a3e7aeb3676a557875bd6686
| | | * | | | | | | | | | 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
| | | * | | | | | | | | | Prevent drag select when right clicking (#13334)Teemu Suo-Anttila2014-12-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If2e865fa70d759cb84c18e92c81f3e36c091d275
| | | * | | | | | | | | | Add select all / select none checkbox to SelectionColumn (#13334)Teemu Suo-Anttila2014-12-0810-12/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5ad2d16b51f011004bb343a19b28b83d90c67c09
| | | * | | | | | | | | | Continue rendering after exception (#13334)Leif Åstrand2014-12-083-49/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic482aeaecff23ead3c00ee2f4d0c551523143c85
| | | * | | | | | | | | | Move Grid related renderer to com.vaadin.client.connectors (#13334)Henrik Paul2014-12-0816-65/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia2b74c6d6b99ef9ec5aa0d41956c55ebd8a2615a
| | | * | | | | | | | | | Flatten Header and Footer API into client-side Grid (#13334)Teemu Suo-Anttila2014-12-087-903/+1135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I70d6d79efbf8d6b14d89d836779cbf16173887fc
| | | * | | | | | | | | | Rename SortEventHandler to better match GWT conventions (#13334)Teemu Suo-Anttila2014-12-086-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ice2452ab2f1c48c4bcac2bc84dc25135ed458bbf
| | | * | | | | | | | | | Fixes some errors in Runo/Reindeer (#13334)Henrik Paul2014-12-0815-36/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5f19b8b03362035b4217dcda626d368559fc424d
| | | * | | | | | | | | | Properly destroy and init cells when changing column order (#13334)Leif Åstrand2014-12-083-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I79aa8fc5f68a7f876f4f3371231df795210f37d4
| | | * | | | | | | | | | Fix appendHeaderRow and appendFooterRow JavaDoc (#13334)Teemu Suo-Anttila2014-12-081-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib6d3b3f9ff38e6ec96b3b395794d7dee2e84cc0a
| | | * | | | | | | | | | Show better feedback if renderer connector is not parameterized (#13334)Leif Åstrand2014-12-071-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ica9281e254938443576fcd3c61197a50ceaa2d2e
| | | * | | | | | | | | | 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-0510-162/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0c9528d2a4b2de2bcd5a6a6e70b1821eb142c4cc