Ilia Motornyi
d543e47bec
Enable Maven plugin for Eclipse formatting (#10829)
6 anni fa
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 anni fa
Marco Collovati
44d4eab353
Fix space key on selection checkbox to select grid row (#10388)
Fixes #10221
6 anni fa
Ahmed Ashour
fb6e81221b
Use lambda with Handlers (#10229)
Also improve naming by replacing one-letter variable names.
6 anni fa
Knoobie
d0dde67c18
adds simple fix for missing label text in grid select checkboxes (#10223)
* adds simple fix for missing label text in grid select checkboxes
* updated comment and wording
6 anni fa
Ahmed Ashour
60ff3d6c34
Format curly brackets correctly for checkstyle (#10066)
6 anni fa
Teemu Suo-Anttila
ca1bfa7511
Pick changes from 7.7.7 (#8577)
* Fix java packaging order (#106 )
Closes vaadin/archetypes#113
* Use proper UTF-8 encoding for Content-Disposition filenames (#19527 ) (#6607 )
* Enable changing the backing bean for BeanItem (#4302 ) (#77 )
When storing a bean to the database, you typically get a new and updated
bean instance back. By allowing to change the bean instance, we make it
possible to just update the single BeanItem instance which can be used
in many places.
* Make AtmospherePushConnection methods public (#7973 )
There is no sensible way to use a custom version of APC, so protected
access does not help in any way to access the underlying resource and/or
connected UI.
* Use correct indexes in multiselect checkboxes after removing rows (#8072 )
Fixes #8011
* Fix removal of hidden Grid columns (#8071 )
Fixes #8018
* Call error handler for exceptions in UI.init() (#8055 )
Fixes #4995
* Render font icon correctly on the 'more' menu item (#8126 )
* Render font icon correctly on the 'more' menu item
Fixes #8125
* Reopen Grid details on attach, fixes #8015 (#8074 )
Fixes #8015
* Fix broken Grid tests after picking changes from 7.7.7
Removed duplicate setDetailsVisible calls from onDetach
* Correctly detach components in merged cells when a static row is removed (#8142 )
Fixes #8140
7 anni fa
Denis
620b2ba314
Add read-only support for single and multi select views for Grid. (#84)
* Add read-only support for single and multi select views for Grid.
Fixes vaadin/framework8-issues#516
7 anni fa
Teemu Suo-Anttila
fbb55ac4fd
Clean up old Grid selection models
This patch removes old Grid selection model APIs
in favor of the new common SelectionModel API.
Change-Id: Iab8f2921930a575012c7da6226811d14a7145271
7 anni fa
Artur Signell
504b3c4c65
Use diamond operator where it can be used
Does not modify compatibility packages to keep to closer to Vaadin 7.7
Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
7 anni fa
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 anni fa
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 anni fa
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 anni fa
Sauli Tähkäpää
7f3481b7a6
Disable multiselect checkboxes when Grid is disabled. (#18560)
Change-Id: Ief0531fe90b9bc8bcf0a60132211a0633b9401d4
8 anni fa
Teemu Suo-Anttila
18fe7aa260
Build vaadin-client with maven
Change-Id: I36c426086a2b957f6f738d17470c499a01ddac3b
8 anni fa
Teppo Kurki
53c114ec5e
Add style names to selection checkboxes (#17755)
Change-Id: I982433f643962ed68b0856b520d331038c7fe838
9 anni fa
Teemu Suo-Anttila
ffb4036fe0
Fix Grid drag selection with scrolled page (#17895)
Change-Id: I1303781c5a996448e12e86835935702686af3ab7
9 anni fa
Teemu Suo-Anttila
64245b28f4
Use GWT CheckBoxes in MultiSelectionRenderer (#17554)
Simple input checkboxes are replaced with GWT checkboxes so styling them
is easier.
Change-Id: I609a79a382ba2e3b7d6ea2895d51cc33b9028a3b
9 anni fa
Alexey Fansky
f665aed236
Disables selection when Grid's editor is open (#17132).
Change-Id: Ibbbffbfe2e8bcb763031ac277c2c36ce4eb4e3fc
9 anni fa
Artur Signell
bf8836bb56
Separate pure client side util methods to a new class (#15553, #15544)
* Deprecated old methods in Util for backwards compatibility
Change-Id: I9de5e6b930d9f2c0268967dc7b1cf465e6310280
9 anni fa
Leif Åstrand
fe6f23946a
Set @since values for Grid classes
Change-Id: Ib0c7d23c2a963e24ecca7769f6b179826be55102
9 anni fa
Teemu Suo-Anttila
ca62a4a1f7
Use CellReferences everywhere in Renderer APIs (#13334)
This patch adds getElement() to RowReference and CellReference
Change-Id: I3df6e50256f628e5cdb5d64d741ff1eb59e8e1c3
9 anni fa
Leif Åstrand
12f3e37776
Use CellReference instead of FlyweightCell in Grid APIs (#13334)
Change-Id: I519e433219a028e99678574227ca44d5b66d07bc
9 anni fa
Teemu Suo-Anttila
b90c84f755
Refactor Grid client side package structure (#13334)
Change-Id: Iab81d2344480d2b60303172a96f4e5e4fa8e1623
9 anni fa
Teemu Suo-Anttila
8f52c98015
Remove selection column from single selection model (#13334)
This patch makes some changes to selection model logic and refactors the
space selection handling from MultiSelectionRenderer to its own class.
Change-Id: I5c4a7d68531a8b4f38991719ae54c9f87119e9a4
9 anni fa
Teemu Suo-Anttila
71fc0accc5
Prevent drag select when right clicking (#13334)
Change-Id: If2e865fa70d759cb84c18e92c81f3e36c091d275
9 anni fa
Teemu Suo-Anttila
fe1e44e763
Prevent page scroll on space select (#13334)
Change-Id: I8d303fd6679a0bd6a1f68b9983f269c3dc89fe5d
9 anni fa
Henrik Paul
07c9de85cc
Renames "active cell" to "cell focus" or "focused cell" (#13334)
It was quite confusing to have so many meanings of "active".
Active row still means "the visible rows". And onActivate still means
enter or click on a cell.
Change-Id: Ib3e5d50adab619410974796a03c13240db35e29c
9 anni fa
Henrik Paul
c69192915e
Removes code-warnings (#13334)
Change-Id: Ifc0f48317863fd7795c977701722408725c1605f
9 anni fa
Henrik Paul
910f00d222
Drag selection now selects all rows in between two frames (#13334)
Change-Id: I0a25cd26a5190be744e6258e29b0560106425932
9 anni fa
Teemu Suo-Anttila
7622128012
Fix RpcDataSource to use RPC for row pins/unpins (#13334)
This patch removes the temprarilyPinnedRows workaround from
AbstractRemoteDataSource and refactors the whole feature to be part of
RpcDataSource where it should be.
Change-Id: Id55020dd11dda3dcf54dfe3c1b41af8e495c1c0c
9 anni fa
Teemu Suo-Anttila
84106f9caa
Make complex renderer .init() abstract (#13334)
Change-Id: I397c3120c22bdfeb27d10f308efe5abc710138b0
9 anni fa
Teemu Suo-Anttila
1e282eed6b
Add handler adding functions for all GridKeyEvents (#13334)
Change-Id: Ic237af24e3d9d35127b01d380b81b9f12ca4c520
9 anni fa
Teemu Suo-Anttila
95f9cdf4e0
Fix MultiSelectionRenderer call for transactionPin (#13334)
DataSource was null when SelectionModel was not Batched. This lead into
NullPointerException.
Change-Id: Ia831f9425eb7761b1c241ae0abdd9c561f4f48f2
9 anni fa
Henrik Paul
1de6a75497
ScrollbarBundle, Escalator and Grid fire Scroll events (#13334)
Change-Id: I362f1f8d2107d762b43ab52c1f22dfd218f67ba4
9 anni fa
Teemu Suo-Anttila
ec2ecdf0e7
Remove type parameters from GridKeyEvents (#13334)
Change-Id: I8132c034ec378bae91574535f6f1b20591f46d1e
9 anni fa
Teemu Suo-Anttila
d9ff10864b
Implement selection with keyboard (#13334)
Change-Id: I29a2ac38dfd613e952fd2f939ee8670271255aa3
9 anni fa
Henrik Paul
448619c516
Sending a drag select over the wire in a batch (#13334)
Change-Id: I49a518b484557d232542e999a2f41ffad3cc7568
10 anni fa
Henrik Paul
14667cc349
Move the scroll area, if pointer starts inside (#13334)
Change-Id: I41549e2c85742fe7a1dfef14e84647609dbf9a71
10 anni fa
Teemu Suo-Anttila
f89d015e92
Implement active cell painting and mouse interaction (#13334)
Change-Id: Iecb9db0fe6ea9ef0409e2ac0a294ac3508277251
10 anni fa
Henrik Paul
e845b4128a
Make Grid scroll as the selection drag happens near an edge. (#13334)
Change-Id: Id5188cc090e181deb2128933236d39d7b418c16a
10 anni fa
Henrik Paul
c4a1ee8a4f
Send selection between server and client (#13334)
Change-Id: I75174af63092fca72d9aa63ccf3c06a77f42c4f6
10 anni fa
Henrik Paul
7e141ff148
Adds selection gesture handling to selection column (#13334)
This patch adds support for drag-selection/deselection gestures
for both touch and mouse.
Change-Id: I05f894123fe5b1dae4f309f8fea01e02208589d7
10 anni fa
Henrik Paul
37436ce644
Client-side selection checkbox renderer (#13334)
Change-Id: I7b6a5c4ca1d78a97c34b1f7b95d1488edeb8551e
10 anni fa
John Ahlroos
0eb12c4c82
Refactored client Renderers once again #13334
The following things are refactored in this changeset:
* Cell interface removed
* CellInfo -> Cell
* Renderer interface becomes a single method interface
* All other methods moved from Renderer to new ComplexRenderer interface
Change-Id: I567868b8dc73783988bce6c11bc23e12d5479172
10 anni fa
John Ahlroos
369ceae48e
Updated client side renderers according to new design #12993
Change-Id: I5c88a6cf3dc0d204dd4489b271e8a8bb8d06c3eb
10 anni fa
John Ahlroos
cca2172654
Revert "Merge branch 'master' into grid"
This reverts commit 4420f52578
.
Change-Id: I06effe06f245baaeb499071917c359eb34cc55ea
10 anni fa
John Ahlroos
887eead6bf
Support custom renderers for header, footer and column group cells #12993
Change-Id: I95f126ad83b9b7245dd4e123ab35c4f147e2910d
10 anni fa
Leif Åstrand
d54b02e31d
Introduce initial data source support for Grid (#12878)
Change-Id: I2d1b2e4a797b2dac9ee97c832fcd40fb472edc08
10 anni fa
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
11 anni fa