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 anni fa
Teemu Suo-Anttila
54ae358e34
Fix valdiation builds to use correct browser (#11000)
6 anni fa
Ilia Motornyi
0e97fadbf9
Enable maven formatting for uitest (#10908)
6 anni fa
Teemu Suo-Anttila
1fdeb3f467
Remove copyright headers from test code (#10770)
6 anni fa
Ilia Motornyi
6541b7bad2
Update copyright year (#10761)
6 anni fa
Ahmed Ashour
3763f3f94c
Use lambda expressions. (#10268)
6 anni fa
Ahmed Ashour
40d15b32e3
Construct array inline (#10068)
And some trivial test enhancements
6 anni fa
Ahmed Ashour
d3c752e0f2
Add empty line at end of file
6 anni fa
Leif Åstrand
8300e3e9f0
Add static helpers for creating callback data providers (#8314)
Cannot overload the same create method for this purpose since it
conflicts with T... overload. Each case is instead given its own
descriptive but still discoverable method name.
7 anni fa
Denis
1fb40df874
Overload AbstarctComponent.setDescription() with content mode parameter (#8252)
* Overload AbstarctComponent.setDescription() with content mode parameter
Fixes #8185
7 anni fa
Leif Åstrand
95d016c085
Global java code cleanup using Eclipse Neon.1
7 anni fa
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
7 anni fa
Pekka Hyvönen
04f30c6892
Allow defining a focus delegate component for CustomField (#20336)
7 anni fa
Denis Anisimov
0decd87411
Binder.bindInstanceFields(Object) method implementation (#47).
Binds class instance fields using reflection using Binder.forField()
Change-Id: I597f3832d112cfa69c73fb185f1564c482e4eb15
7 anni fa
Denis Anisimov
6d75c88fcb
Move old SelectionEvent to V7 and create a new selection event supertype
Change-Id: I17496c803f81fdaa98e47cbfcc9bdc91625c134f
7 anni fa
Pekka Hyvönen
45082d1abc
Make Valo the default theme
LegacyApplication explicitly uses "reindeer" as default theme.
Extended AbstractTestUI to AbstractReindeerTestUI, that all old tests now inherit.
All new tests should be based on AbstractTestUI.
Also added AbstractReindeerTestUIWithLog for those that needed it.
Removed all found @Theme("valo") and used proper parent test class.
Change-Id: I0bb45850f3f1d39c6f78dac35dfa08acbad427ad
7 anni fa
Aleksi Hietanen
2bee988272
Unify listeners on the server side
This patch updates server side add*Listener methods to return
a registration object and deprecates their corresponding
remove*Listener methods.
Additionally this patch removes add/removeListener methods which were
deprecated in 7.0.
Change-Id: I26ac5f11882512288fbbf601c7cb2aaff653ec76
7 anni fa
Denis Anisimov
d078a5d7db
Rename PopupDateField to DateField #297.
DateField becomes abstract AbstractDateField, PopupDateField becomes
DateField
Change-Id: I3ac1e02d8754f0770b6a30222cb0fb2a1b9db07b
7 anni fa
Johannes Dahlström
c4a38e2502
Refactor AbstractComponentTest to extend AbstractTestUI
Change-Id: Ie614e7a7bf069ab4035cfcd35c3bc98007adfd4b
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
82806ef9b7
Format the project using Neon, remove trailing whitespace
Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
7 anni fa
Artur Signell
0732591758
Organize imports
Change-Id: Ie58291fd4858d5421b23e56603808f158d559687
7 anni fa
Artur Signell
d13ca5506a
Implement new Label
Label does intentionally not implement HasValue as it
cannot provide a value to a model
Change-Id: I36b8e1794d64caf566fa802177051ae2eb637bf9
7 anni fa
Aleksi Hietanen
4a6a632b1f
Update TextArea to extend AbstractFieldNew (#53)
Change-Id: I72400695f3b015add07be9709e48b5f99ce619cf
7 anni fa
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 anni fa
Artur Signell
be6a0cfd84
Organize imports
Change-Id: Iedb6ed985dfc6b69c4a4753a876545d67621898f
7 anni fa
Artur Signell
f3c880194b
Rename legacy packages to v7
Change-Id: I53f3bd49c234a8d126887f6effa83a3c5c92b4e0
7 anni fa
elmot
86cee1ad6b
Rename Grid into LegacyGrid
Change-Id: Ie99e3a5af908ada42a6d0eba421241ad65c0d6b4
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
Artur Signell
9661839707
Remove Form and FormFieldFactory
Form was deprecated in Vaadin 7 when FieldGroup was introduced.
In Vaadin 8, FieldGroup is deprecated in favor of Binder. Having three
different "forms" would be very confusing.
Change-Id: I17775c922940edc5df7dd5bdc80bfe9652588270
7 anni fa
Aleksi Hietanen
a5575a9252
Update TextField to extend AbstractFieldNew (#51)
- Changes input prompt to be based on the placeholder attribute.
- Unifies TextChangeEvents with ValueChangeEvents.
- add*Listener methods now return Registration objects, remove*Listener methods removed.
Change-Id: Ie92506ae9db205bb0010ae9126c608c62ad023ff
7 anni fa
Denis Anisimov
87118c4b94
Derive DateField from new AbstractField (#57).
Change-Id: I5efe17253ecd28dad5a2250076246a9eb30eec62
7 anni fa
Denis Anisimov
bb9564db42
Move old DateField components to legacy package (pre-#57).
Change-Id: I9e766be232d90aab92b5daa77351f4b0a3933f1d
7 anni fa
Henri Sara
5c852b41ff
Convert CheckBox from legacy to AbstractField
Add LegacyCheckBox for old field factories, Grid editor etc.
Change-Id: Ic40790049421268c6de3d26730d1955d56aa86c4
7 anni fa
Denis Anisimov
81b849c1af
Convert old validators (#87).
Change-Id: I6e4a56855f78595975b645a08390fb56e0e52ef9
7 anni fa
Artur Signell
192e93a814
Move and rename converters into com.vaadin.legacy.data.util.converter.Legacy*
Change-Id: I75fd33e66c8c5c265bc60cce58ff639a5d5642ab
7 anni fa
Denis Anisimov
314eb377dd
Move old validators to legacy package (pre-#87).
Change-Id: If6212ff2b7da0e87b3c68a3372b5f0b5a2a55b1a
7 anni fa
Denis Anisimov
fd651d7921
Move Validator and Validatable into legacy package.
Change-Id: I7f8e9b1f7dff40ca76933cdf1978e3749f390142
7 anni fa
Johannes Dahlström
f6f111b88f
Rename Field, AbstractField to legacy names
Change-Id: I46ce708e0f10e4c9fa3d11a2aef5be0248c2999f
7 anni fa
Ilia Motornyi
ef306c16f5
Revert "Better default for nullRepresentation (#13221, #12877)"
This reverts commit 85870ccd9f
.
Change-Id: Ifb9bbac0ee36e71d2251c31b936a12f1f3ea7315
8 anni fa
Matti Tahvonen
85870ccd9f
Better default for nullRepresentation (#13221, #12877)
Change-Id: Ia4662c79b20ee699b3a9741ffa24c4de6645b775
9 anni fa
Teemu Suo-Anttila
6b8412033e
Build uitest war with maven
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda
8 anni fa