Teemu Suo-Anttila
bf86584c91
Move shared classes to a temporary subpackage
Change-Id: I50079477ed8424ee8263a403a5446897717b2ff5
hace 7 años
Teemu Suo-Anttila
4ebfe3e017
Add sortingBy with function parameter to in-memory data source
Change-Id: Ib622bba1a845121cfff8dd23544c95dbce8d8974
hace 7 años
Teemu Suo-Anttila
9f0668b91f
Add additional checks to in-memory data source tests
Change-Id: Iba6930fdbd2378b2475a472e65e18eff71fdc560
hace 7 años
Teemu Suo-Anttila
a3c0378df7
Add basic sorting implementation and API
Change-Id: Ic1fded7f26e3f63c234c6e5bebf8f8fed22e6365
hace 7 años
Teemu Suo-Anttila
ba228972ae
Simplify DataSource to be a function that provides Stream of values
This patch also removes the old automatic update logic.
Change-Id: Idb50137eee2592c1acd14ff67f577ad5edbbd2ff
hace 7 años
Teemu Suo-Anttila
ec5ddab8e9
Rename data communication class to DataCommunicator
Change-Id: Id44af8373737734dac1149689f0e37bdfd3795d9
hace 7 años
Teemu Suo-Anttila
f3555bdbea
Use a lazy-loading compatible client-side data source with listings
This patch simplifies DataProviders to only have one server-side
implementation. DataSource is now returning Stream of beans instead of
Iterator. For now DataSource is required to provide a size.
Change-Id: I717de46d681ab08ae7e0b6c811ca1eee7ebb225b
hace 7 años
Teemu Suo-Anttila
aa3196b8ee
Move new files under temporary package names
Change-Id: I79b456f49c81b5709bece92b8735d4a5e223174d
hace 7 años
Johannes Dahlström
f9296a34dd
Rename Component.Event to LegacyEvent
Change-Id: I5d8acb11fba62bd148ce5c3c3699c642c647fbf5
hace 8 años
Johannes Dahlström
32a5a7616a
Rename package c.v.event.handler to c.v.event.typed
Change-Id: I2cf9d3fd9c7174780bca4876383bbf4d363cad39
hace 8 años
Johannes Dahlström
57d6cf7150
Unify onChange event handling
Change-Id: I3556e94961ed06588d7201478ccee03d78eb1b5a
hace 8 años
elmot
7527614542
Fix typos in Javadoc; Optimize imports; Minor change for code style
Change-Id: I9f545e85274c41ca96ef682c60420eb23095c3e8
hace 8 años
Teemu Suo-Anttila
a72aec6c20
Fix null as a SelectionModel
Provides methods for cleaning up selection models.
Change-Id: Ifd1db68ba8cd6e75942a3f700e608ee0d2dfcd15
hace 8 años
Teemu Suo-Anttila
2a1b5b608e
Implement a new DateField based on LocalDate
Change-Id: I342a0ebd8562b2c0ab4deb3ed918ebfe9ee2f932
hace 8 años
Aleksi Hietanen
ff768d1f88
Make onChange throw in TextField and CheckBox when Handler is null
Add readDesign, writeDesign, getCustomAttributes to CheckBox
Change-Id: I412413e53fde5a02a4f8a76a6b47b002141435a2
hace 8 años
Teemu Suo-Anttila
35545a3b1f
Add setOptions to Listing with default implementation
Change-Id: Ica2b83341c8233934333beec6cf29109d4cca91f
hace 8 años
Teemu Suo-Anttila
3bafddcc45
Implement a new typed Grid
Change-Id: I619558d4367ffaa77f3509c6a9203cada638f57a
hace 8 años
Aleksi Hietanen
9764e11842
Change DataSource addDataChangeHandler() return type to Registration
Remove DataSource removeDataChangeHandler()
Change-Id: I07a92ad6e7d2c75ca8f53a3376d0b8157559cb70
hace 8 años
Teemu Suo-Anttila
d60941d083
Add ListDataSource with tests
Change-Id: I38a0429e4f27a6734f3f6189bdd5c45706d86601
hace 8 años
Aleksi Hietanen
99de9a9ae6
Implement onChange handlers in SingleSelection
Change-Id: I84b6d19e52ac0f55977ade6126a3cc1a9183c483
hace 8 años
Teemu Suo-Anttila
843b837d5d
Fix select null in SingleSelection
Change-Id: I4156ee7d9a7e68cb8043db368b928a849b646d64
hace 8 años
Teemu Suo-Anttila
94ab98d23d
Add Binder for binding beans to fields
Change-Id: I509f02261a36fcef276d2a1c5590a06bc28e8ed2
hace 8 años
Johannes Dahlström
619e69e548
Implement new TextField
Change-Id: Ia2d357b77842bef188ae1f2a25e4a6a1c0a86dd0
hace 8 años
Teemu Suo-Anttila
0dd799f75e
Implement a new typed CheckBox
Change-Id: I54030ad525e998f7533f4bb25b3e77c33791b145
hace 8 años
Teemu Suo-Anttila
2a56290857
Use DataProviderConstants for communication
Change-Id: Ic51fd70229991838f5da449a3db467ea41a663ea
hace 8 años
Teemu Suo-Anttila
2b8eca955d
Extract a base class from typed NativeSelect
This patch adds some helpers for extensions aimed at Listing components.
Change-Id: I7ac2ee56ca7e44ac0300c94d02d30533aea11f9a
hace 8 años
Teemu Suo-Anttila
7d31b7132f
Add server to client communication to selection model
Change-Id: Iad3f8c6a5c1b30aebc01ce859d828153db91f596
hace 8 años
Teemu Suo-Anttila
755c893008
Add typed NativeSelect and SelectionModel functionality
Change-Id: I3d65d02c34aa6ff0281cae36cfdd8b1166292d7f
hace 8 años
Teemu Suo-Anttila
fc96cea89e
Add a DataProvider implementation
Change-Id: I8fba190a905a4dac6bfef5693064218672e23ba4
hace 8 años
Teemu Suo-Anttila
fa1ae150f0
Introduce Listing and SelectionModel
Change-Id: Ied323b4874c3abe57e745a842c30580b50389243
hace 8 años
Teemu Suo-Anttila
c9bd00f902
Add DataSource interface with abstract base class
Change-Id: If7800ea18f7bed0af99f9f65467d75544f9d22a7
hace 8 años
Teemu Suo-Anttila
c2bfe02325
Initial HasValue, Handler, Event and Registration
Change-Id: Ib7e8b10d50fc37a118827e6e851c4ab54696c721
hace 8 años
Teemu Suo-Anttila
316191fbe3
Update version number, use Java 8
Change-Id: Icb36a9c019ba086cdcdece2497c2120ea6bafb7a
hace 8 años
Denis Anisimov
8117b2602a
Provide a way to disallow navigation to the same state twice (#12107).
Change-Id: I831a02f26929cc7ec4dac5177cb68f84bd0bfc2b
hace 9 años
Johannes Dahlström
3982e93901
Fix a Javadoc typo that crashes Checkstyle (yes, really)
Change-Id: Ib0ca5ad40a8e68a21c707941c7d533c9206a9129
hace 8 años
Ingo Kegel
c0babd786c
New login form (#8171)
The legacy LoginForm is substituted with the new one which is compatible
in API.
The patch contains modified code from the addon
https://vaadin.com/directory#addon/loginform
Change-Id: I2178291c97c2f66840f832a0bf932271534beb49
hace 9 años
Teemu Suo-Anttila
fb63a60cc4
Use gwt-user and gwt-dev dependencies in client and compiler
This removes GWT dependency from the server and shared parts of the
framework
Change-Id: Iafbb752c0184611a18d4a9d61c9e03229d42836e
hace 8 años
Jonni Nakari
68784363dc
Suggestion pop-up width API for ComboBox (#19685)
Added API setPopupWidth(String) to ComboBox. The suggestion pop-up now
has three different width modes:
1. Legacy "null"-mode: width is determined by the longest item
caption for each page. This looks & feels like the old implementation.
This is the default mode
2. Relative to the ComboBox. e.g. 100%
3. fixed width using any CSS definition
Change-Id: Id60a6996ee82726196b84d50c2d0d18a6cfb5ebf
hace 8 años
Henri Sara
ee5584d49f
Update missing @since for 7.7
Change-Id: I9c35e50fd4b56c6b70a4194526cbbbe7870add6e
hace 8 años
Artur Signell
5b18c5469e
Send an ack message after push has removed connectors (#19822)
The server side needs to know the client has removed the connectors to
be able to do cleanup
Change-Id: Ic3d41cc5cbab035a53bf5c99496d74858c376e73
hace 8 años
Artur Signell
c9f7f0f9e0
Correctly check if validators are present (#11450)
Change-Id: Ibc0173f96a1000e709bd7ee90cccd500fad1a223
hace 8 años
Marco Collovati
1e7893d743
Make tests pass in any timezone (#19813)
Change-Id: I78411b92a5b3c2f04ed8a15ebd2c183aa1af4ab9
hace 8 años
Joonas Lehtinen
9b048703e1
Make tests pass in any timezone
Change-Id: Ic81205bca5e25d0f525ae5fa0cbe20d0bd736a58
hace 8 años
Artur Signell
6d8c752e79
Load CustomLayout templates like other theme resources (#8578)
Change-Id: I0ee79c357a1a3e4c5ce1cb8a93ac0cf1ba4d4163
hace 8 años
vilo
aa0816ce6e
Throw exception early on null itemId (#16541)
Change-Id: Iff42a6e9e5e00006c96fa82e102ff145449c6f88
hace 9 años
Artur Signell
8858aa624d
Ensure ContainerOrderedWrapper returns itemIds in expected order
(#19427 )
Change-Id: I79cfe68cf5e9e37db27c53d2f7a1aa9a1573df90
hace 8 años
Edoardo Vacchi
31709daa2d
Remove shortcut listener from subclasses of AbstractComponent (#16498).
e.g., Panel shadows actionManager with its own instance field
* solution: always invoke getActionManager()
Change-Id: Ibeca2ad53cb1175ae1ebcfb4d68b3d2bf36ea8b2
hace 9 años
Artur Signell
809440a8a2
Change GridLayout to no longer be a legacy component
Change-Id: I9d5c135dbfbe108c17fea6334966d4df09ac61ca
hace 8 años
Artur Signell
7d2d091ecb
Eliminate rounding errors for GridLayout expand ratios (#19797)
Change-Id: Idf05dde5d6526fafee618fd3e2eb1afa63fab7bc
hace 8 años
Leif Åstrand
014997af24
Fix typo in VariableOwner error message
Change-Id: I80f038903e0f32e8b6cb38d6e7931362c4f0f285
hace 8 años