Ilia Motornyi
d543e47bec
Enable Maven plugin for Eclipse formatting (#10829)
pirms 6 gadiem
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
pirms 6 gadiem
Henri Sara
60e4519af7
Clarify javadoc of AbstractListing item icon generator
pirms 7 gadiem
Leif Åstrand
e397ea01e5
Refactor how DataCommunicator passes filters to its DataProvider (#8309)
The immediate benefit of this change is that ComboBox doesn't have to do
any wrapping when a ListDataProvider is set. A secondary benefit is that
a bunch of redundant type parameters and unsafe casts can be removed.
This is one of many steps towards #8245
pirms 7 gadiem
Leif Åstrand
0c471fbab5
Replace Listing with HasDataProvider and HasFilterableDataProvider (#8122)
* Replace Listing with HasDataProvider and HasFilterableDataProvider
The type parameters of the Listing interface does in practice mean that
it isn't useful for anything. This patch replaces that interface with
separate types for components that require filterable data providers and
components that support any kind of data provider.
The setItem methods are extracted to a common interface that is also
directly implemented by AbstractListing.
pirms 7 gadiem
Aleksi Hietanen
ae54094346
Correctly reset DataCommunicator when its DataProvider is changed (#8138)
* Correctly reset DataCommunicator when its DataProvider is changed
* Improve ReplaceDataProviderTest
* Remove return type from AbstractListing.readItems
pirms 7 gadiem
Ilia Motornyi
0740ac116e
Partial javadocs fix for vaadin-server
pirms 7 gadiem
Leif Åstrand
95d016c085
Global java code cleanup using Eclipse Neon.1
pirms 7 gadiem
Pekka Hyvönen
4b3b5a2325
Rename com.vaadin.server.data to com.vaadin.data.provider (#8004)
Renamed corresponding test packages too.
Fixes vaadin/framework8-issues#110
pirms 7 gadiem
Aleksi Hietanen
afcd95da1d
Make AbstractListing implement Focusable (#7965)
* Make AbstractListing implement Focusable
Fixes vaadin/framework8-issues#552
* Add tests for other components that inherit from AbstractListing
* Fix setTabIndex in NativeSelect, ListSelect, RadioButtonGroup
Also adds a test for TwinColSelect.
pirms 7 gadiem
Denis
a43fd9003a
Provide declarative support for Grid. (#7961)
Fixes vaadin/framework8-issues#390
pirms 7 gadiem
Denis
9fb43988c7
Introduce dedicated shared states for every core vaadin component/ext. (#98)
* Introduce dedicated shared states for every core vaadin component/ext.
Updated components are:
- PasswordField
- CustomField
- AbstractListing
- AbstractMultiSelect
- ColorPicker
- ColorPickerArea
- DataCommunicator
- Responsive
- AbstractListingExtension
- DetailsManager
- AbstractRenderer
- ClickableRenderer
- ButtonRenderer
- CheckBoxRenderer
- DateRenderer
- HtmlRenderer
- ImageRenderer
- NumberRenderer
- ProgressBarRenderer
- TextRenderer
Fixes vaadin/framework8-issues#480 .
pirms 7 gadiem
Teemu Suo-Anttila
302f870e30
Add a fallback to Declarative*Generator
Change-Id: I7eca92ca6e2eb234000cb9c9533974fcd357d33f
pirms 7 gadiem
Teemu Suo-Anttila
b89b7f2d05
Add filter type to DataCommunicator
Change-Id: Id7948e2f81b6a9c593ce8b71bb3a61b578344af9
pirms 7 gadiem
Teemu Suo-Anttila
411b8dedb0
Type Listing for DataProvider to allow custom filter types
Listing has been moved from AbstractListing to each individual Component.
ComboBox is now typed to String filter.
Fixes issues with declarative read of items.
Change-Id: I6918f9f8c426dcbd81546150c2cf9ed49a02bf50
pirms 7 gadiem
Denis Anisimov
159d413602
Provide declarative support for listing components.
Fixes vaadin/framework8-issues#388
Change-Id: I4f8045bba51d308f4343a1f6d01b3f1ddca63e69
pirms 7 gadiem
Teemu Suo-Anttila
a8f5b1fb08
Add Filter parameter to DataProvider
Change-Id: Ic65b8decb3ac8d4dde9bca6cfb40a2a70f461e91
pirms 7 gadiem
elmot
c0d712cdbe
Renaming DataSource -> DataProvider to avoid collisions with javax.sql.DataSource
Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11
pirms 7 gadiem
Denis Anisimov
b6960abff4
Create MultiSelect interface to replace Multi selection model.
Fixes vaadin/framework8-issues#423
Change-Id: Ifd252b8feed323708a7ae73af2b836832570d192
pirms 7 gadiem
Denis Anisimov
13747f7003
Make SelectionModel API only server side.
Client side doesn't use selection model anymore.
Fixes vaadin/framework8-issues#421
Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75
pirms 7 gadiem
Henri Sara
8a4d90789f
Update empty since tags for 8.0
Change-Id: Iacf3864f6902e810591e2085adb44d0a6848f51c
pirms 7 gadiem
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
pirms 7 gadiem
Artur Signell
82806ef9b7
Format the project using Neon, remove trailing whitespace
Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
pirms 7 gadiem
Johannes Dahlström
277b1a5c28
Implement SingleSelection on client and server
Change-Id: I48192de092c6b6e6be7ca2580720d2765962e167
pirms 7 gadiem
Johannes Dahlström
8532ed304b
Rename TypedDataGenerator to DataGenerator
Also add a no-op default implementation to destroyData,
making DataGenerator a functional interface.
Change-Id: I546f443150da23debd4a2691003e435367469439
pirms 7 gadiem
Johannes Dahlström
c0117c3baf
Add SelectionModel interface and selection API to Listing
Concrete selection models not implemented in this patch.
Change-Id: Ibcd64817efa704b6dd664bfaccb2d8c5110720fb
pirms 7 gadiem
Teemu Suo-Anttila
08450203e7
Add listing extension to allow access to data communicator
Change-Id: I4eca9884cf0195bab68d282bf1a6fd8c8b48a0fb
pirms 7 gadiem
Teemu Suo-Anttila
87e0a08b60
Add a typed version of the Grid component
Change-Id: I00cbe80ac72787de0c4cc88e1c223badc2c4ae89
pirms 7 gadiem
Teemu Suo-Anttila
52dc5e4f1c
Add DataCommunicator for data communication of Listings
Change-Id: I1f50823fdef105c3ba0463011574908a0cec7ad9
pirms 7 gadiem
Teemu Suo-Anttila
ad144e26e0
Add Listing interface and minimalistic abstract implementation
Change-Id: Ie13788c2c4dc49106919d8599b4b1199395a5b8e
pirms 7 gadiem
Artur Signell
588f3cc7f8
Update copyright year to 2016
Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
pirms 7 gadiem
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
pirms 7 gadiem
Teemu Suo-Anttila
a6653d3fe4
Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
pirms 8 gadiem
Artur Signell
e77e73cf64
Update copyright year to 2014
Change-Id: Ic77338304dc7e58e49f27dcdaf0bab2e00f5bba6
pirms 10 gadiem
Anna Koskinen
0b8be3d5da
Merge of a Javadoc fix to Vaadin 7.
Fixed @since tag.
Change-Id: I9dece38d05c1ef53ca5da45d5c95c49154a2efe1
pirms 11 gadiem
Artur Signell
fb68bd5303
Updated copyright notices and added missing license headers
Change-Id: I419ce4581d1a8b84d4236a85a1333d23f3423b2e
pirms 11 gadiem
Artur Signell
8d0c857382
Replaced license place holder with actual license (#8955)
pirms 12 gadiem
Artur Signell
6855529f1d
Removed @version which is included in some files but not in all (#9299)
pirms 12 gadiem
Artur Signell
e85d933b25
Moved server files to a server src folder (#9299)
pirms 12 gadiem
Artur Signell
16554478a5
Removed non-working/unneeded code (#8428)
svn changeset:23835/svn branch:6.8
pirms 12 gadiem
Artur Signell
8e5b52a1bd
Made Table serializable when using column width for row header (#8428)
svn changeset:23834/svn branch:6.8
pirms 12 gadiem