Anna Koskinen
3afe45849e
Code cleanup (#12333)
- removed unused private methods
- removed unused private variables
- removed unnecessary initializations
- removed unnecessary substring(0)
- removed inner assignments
- renamed private methods that started with upper case
- renamed static final variables to use upper case
- converted to use non-deprecated options
- suppressed unavoidable warnings
- divided long Strings to multiple lines
- added missing types
- added missing JavaDoc parameters
- formatting
- updated comments & JavaDocs
2 anos atrás
Anna Koskinen
32764eca80
Update copyright year range. (#12215)
* Update copyright year range.
3 anos atrás
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 anos atrás
Ahmed Ashour
3564d4b4ba
Remove redundant interface already implemented by super class. (#10258)
6 anos atrás
Ahmed Ashour
73119c7193
Fix javadoc references (#10067)
And remove unused imports.
6 anos atrás
Ahmed Ashour
60ff3d6c34
Format curly brackets correctly for checkstyle (#10066)
6 anos atrás
Ahmed Ashour
132d9fa60e
Fix unused parameters in javadoc (#10055)
6 anos atrás
Ilia Motornyi
e5488dff79
Replacement guide javadocs for deprecated classes
Fixes #8682
7 anos atrás
Teemu Suo-Anttila
0cfb20938f
Revert diamond operator changes
7 anos atrás
Denis Anisimov
cef5b51d3f
Mark all server compatibility classes deprecated (#144).
Change-Id: Iba0a35d5ea9a97b0020f506f610630471c59748b
7 anos atrás
Teemu Suo-Anttila
6d0204cafe
Add simple data change handling for Selects
Change-Id: I16f9577ea4091fb4febe167d76e141b5945f53ab
7 anos atrás
Teemu Suo-Anttila
e65a1d80f1
Duplicate shared classes of the Vaadin 7 Grid
Change-Id: I50cdcef0beb2f384636eb40c2f3f7493db52ac87
7 anos atrás
Artur Signell
c6b44ac8ad
Move and rename server classes which go into the compatibility package
* Use com.vaadin.v7
* Use the same class name as in Vaadin 7
* Use a "vaadin7-" declarative prefix for Vaadin 7 components
Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5
7 anos atrás
Artur Signell
6e0f2efe99
Move FieldGroup and Vaadin 7 Grid to compatibility package
Change-Id: I9aaef478e0b67462641239802b924b8461cb9225
7 anos atrás
elmot
86cee1ad6b
Rename Grid into LegacyGrid
Change-Id: Ie99e3a5af908ada42a6d0eba421241ad65c0d6b4
7 anos atrás
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
7 anos atrás
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 anos atrás
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 anos atrás
Teemu Suo-Anttila
75b282c319
Fix RpcDataProviderExtension serialization issue (#19906)
Change-Id: I74e8e82df2a7bb26c45c9c3797d044061ec3c24d
8 anos atrás
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
8 anos atrás
Teemu Suo-Anttila
b7af23d8dc
Fix RpcDataProvider listener handling on ItemSetChange (#19371)
Old ValueChangeListeners are discarded and new ones created when an
ItemSetChange occurs. This is done to reapply the listeners to possibly
recreated Items.
Change-Id: I9956af8950e241005574c597c49c5efb43afc1c7
8 anos atrás
Teemu Suo-Anttila
459bb376e4
Fix setSelected in MultiSelectionModel to update row data (#19302)
Change-Id: I32c980b2cae199ad2059701e4e04b4a7cb76bafa
8 anos atrás
Teemu Suo-Anttila
f5e2275e70
Fix Grid NPE when deselecting already removed row (#19152)
Change-Id: I1361c8099e9f4a95e991f4937a406c5e4db67027
8 anos atrás
Teemu Suo-Anttila
2c7a984542
Move RpcDataProviderExtension and DataGenerator to correct package
New location is com.vaadin.server.communication.data as the extension
only manages the communication of container data to a client-side data
source.
Change-Id: I7aeefe23c9d771d70bc1dd389bc7f0c3357f0a17
8 anos atrás
Teemu Suo-Anttila
8a66300779
Refactor DetailComponentManager to be a static nested class of Grid
While refactoring any special cases are removed. This needs Grid
extensions to have a way for adding and removing components from Grid.
Removing any and all parts of RpcDataProvider work towards having it
separate from Grid and maybe usable for other components as well.
Change-Id: Ia4e25d5f0acaf2085478346b0ff6e23c8334e1b9
8 anos atrás
Teemu Suo-Anttila
1d3fc17f38
Add API for data destruction to DataGenerator interface (#19038)
This patch provides destroyData implementation for all default data
generators.
Change-Id: I1458080ee0203a27b52e604d3a30c9e5240c0383
8 anos atrás
Teemu Suo-Anttila
ac66a3d174
Redesign RpcDataSourceConnector pinning RPC requests (#18692)
This patch removes DataProviderKeyMapper which was mostly dead code
already. Uses a regular KeyMapper instead.
Change-Id: Ic97d1dc827d45fde65bcddc0414bfe711032620c
8 anos atrás
Teemu Suo-Anttila
53a4b2c77a
Refactor Grid SelectionModels as extensions (#18624)
This patch removes all selection related variables and API from several
core parts of Grid.
Change-Id: Idb7aa48fda69ded1ef58a69c1f7dbc78b7f52a54
9 anos atrás
Johannes Dahlström
b6f2bb0cee
Fix empty @since tags for 7.6.0.alpha4
Change-Id: I9f223ec2d49a4a851f5e5808cc325c52717191ee
8 anos atrás
Teemu Suo-Anttila
5db6f100da
Fix AbstractRemoteDataSource cache clearing (#18630)
This patch also reduces the amount of RPC calls when dropping rows from
cache.
Change-Id: Ib69a807883bc885dcd877a008cec16e44fa2bfdd
8 anos atrás
Teemu Suo-Anttila
15ad8bccfc
Fix RpcDataProviderExtension to not rely on item indices (#18503)
Change-Id: I68a77bee4ef8e7a859f3a3c143e6f5922decf025
8 anos atrás
Artur Signell
029cb1a81b
Handle renderer exceptions gracefully (#18554)
Change-Id: I46557f6c6f8543ab61b863145863824785d14784
8 anos atrás
Teemu Suo-Anttila
4a10a70fbe
Fix DetailsRow communication use connector IDs (#18493)
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
8 anos atrás
Teemu Suo-Anttila
40dcbc3cfa
Refactor RpcDataProviderExtension to use DataGenerators
Change-Id: I8c809b6fac827df730c6622fb6790410c6c5bd81
9 anos atrás
Teemu Suo-Anttila
5837c103f7
Fix displaying Details when Grid is attached to DOM (#18390)
Change-Id: I74360c7a3f0c5798dbaa44ea06ea1585c4289449
9 anos atrás
Teemu Suo-Anttila
22ea8caf78
Fix Grid details on sort to display them on correct rows (#18224)
Due to the nature of Container this is only achieved by removing any
existing details and reopening those after the sort is done.
Change-Id: Ic42186ed85981d5dad4ff0948aa22f7a0404480d
9 anos atrás
Artur Signell
a42fe556c2
Handle generated empty string style names properly (#17335)
Change-Id: I1adce18f238fd4357b0eb1be68ebf7a3aaa6dd6e
9 anos atrás
Leif Åstrand
2227124925
Add missing @since for 7.5
Change-Id: Id8f78c9ef7670c5413d3b7d28eef732dd1b7512d
9 anos atrás
Henrik Paul
e191abb0da
Fixed some faulty asserts in Grid's detail row creation (#17293)
Change-Id: I8e9998524c02ca1e2f9d3391fa27bacc53655c7f
9 anos atrás
Leif Åstrand
eb3406247e
Update all empty since tags published in alpha1
Change-Id: I1afce7e69beb9a61354fd82fcda194d4277dfd36
9 anos atrás
Henrik Paul
6a7437cc96
Fixes edge case in null details generation for Grid (#17274)
Change-Id: I1bf4c2f0600baea8b925bd31dcd42c1e901a7c8b
9 anos atrás
Henrik Paul
4a52ec0b7a
Move DetailComponentManager from Grid to RDPE (#16644)
Change-Id: I2b65a878bb50c2b1f62135a998207a41e82fe62f
9 anos atrás
Henrik Paul
b06b1d6846
Adds details generator swap support for Grid (#16644)
Change-Id: I741970a7bcebd27d3aa28d608d767b4b4f063ae8
9 anos atrás
Henrik Paul
251ed2cbb6
Fixes a bug in Details being open on freshly retrieved Grid rows (#16644)
Change-Id: Id337dd84ba0b0f09d55b3cdb0d8bfde67313ed21
9 anos atrás
Henrik Paul
a1619ee73d
Grid's Details can now be Components (#16644)
Change-Id: If67dd2e86cf41c57f208a3691e2cb7a5a29c133c
9 anos atrás
Henrik Paul
84c143dd76
Server side Grid can open details on the client side (#16644)
Change-Id: Ibff5a83b3a09c7c530926dadae9138ba3823f27a
9 anos atrás
Teemu Suo-Anttila
e80f04ade5
Optimise RpcDataProvider calls to container (#16642)
Change-Id: I8abaa4c1bd8eface98e42e0882cf09c92fbbf386
9 anos atrás
Teemu Suo-Anttila
7a031a8653
Fix adding and modifying multiple rows in Grid (#16905)
Change-Id: Ib3ae8d305f44a78c9bd6f4539ca9cee2a487d269
9 anos atrás
Teemu Suo-Anttila
78e5cb1a96
Fix RpcDataProviderExtension value change listener setup (#16550)
This patch changes value change listener mapping from itemid based to
index based mapping. This makes removing rows much less error prone
Change-Id: I77e9078de4ae61ce5d752cc394aa47bccd505e70
9 anos atrás
Johannes Dahlström
294dc686f6
Fix NullPointerException when changing Grid container (#16559)
Change-Id: I6e8ca4af7baf0b560e9f28dfd6b7dd437c1a4254
9 anos atrás