diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-08-26 15:04:05 +0300 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-10-25 09:12:41 +0300 |
commit | 0decd87411d98cf0d03db35fb6e5d70637ff864c (patch) | |
tree | 80af2fd0a2cd35c8ed613987f70c66c049088d4b /uitest | |
parent | eb39bd3df37fe0704c7bf2de95a85a7bf1e627a8 (diff) | |
download | vaadin-framework-0decd87411d98cf0d03db35fb6e5d70637ff864c.tar.gz vaadin-framework-0decd87411d98cf0d03db35fb6e5d70637ff864c.zip |
Binder.bindInstanceFields(Object) method implementation (#47).
Binds class instance fields using reflection using Binder.forField()
Change-Id: I597f3832d112cfa69c73fb185f1564c482e4eb15
Diffstat (limited to 'uitest')
6 files changed, 6 insertions, 6 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/declarative/PotusForm.java b/uitest/src/main/java/com/vaadin/tests/declarative/PotusForm.java index 28525efc0f..c14b409a73 100644 --- a/uitest/src/main/java/com/vaadin/tests/declarative/PotusForm.java +++ b/uitest/src/main/java/com/vaadin/tests/declarative/PotusForm.java @@ -16,11 +16,11 @@ package com.vaadin.tests.declarative; import com.vaadin.annotations.DesignRoot; +import com.vaadin.annotations.PropertyId; import com.vaadin.ui.Button; import com.vaadin.ui.DateField; import com.vaadin.ui.VerticalLayout; import com.vaadin.ui.declarative.Design; -import com.vaadin.v7.data.fieldgroup.PropertyId; import com.vaadin.v7.ui.ComboBox; import com.vaadin.v7.ui.TextField; diff --git a/uitest/src/main/java/com/vaadin/tests/fieldgroup/AbstractBasicCrud.java b/uitest/src/main/java/com/vaadin/tests/fieldgroup/AbstractBasicCrud.java index f57d033112..7709ae4795 100644 --- a/uitest/src/main/java/com/vaadin/tests/fieldgroup/AbstractBasicCrud.java +++ b/uitest/src/main/java/com/vaadin/tests/fieldgroup/AbstractBasicCrud.java @@ -18,6 +18,7 @@ package com.vaadin.tests.fieldgroup; import java.util.Iterator; import java.util.Map; +import com.vaadin.annotations.PropertyId; import com.vaadin.server.VaadinRequest; import com.vaadin.shared.ui.label.ContentMode; import com.vaadin.shared.util.SharedUtil; @@ -39,7 +40,6 @@ import com.vaadin.v7.data.Property.ValueChangeListener; import com.vaadin.v7.data.Validator.InvalidValueException; import com.vaadin.v7.data.fieldgroup.BeanFieldGroup; import com.vaadin.v7.data.fieldgroup.FieldGroup.CommitException; -import com.vaadin.v7.data.fieldgroup.PropertyId; import com.vaadin.v7.data.util.BeanItem; import com.vaadin.v7.data.util.BeanItemContainer; import com.vaadin.v7.data.validator.IntegerRangeValidator; diff --git a/uitest/src/main/java/com/vaadin/tests/fieldgroup/DateForm.java b/uitest/src/main/java/com/vaadin/tests/fieldgroup/DateForm.java index af8f5b4692..7bf59a3889 100644 --- a/uitest/src/main/java/com/vaadin/tests/fieldgroup/DateForm.java +++ b/uitest/src/main/java/com/vaadin/tests/fieldgroup/DateForm.java @@ -3,6 +3,7 @@ package com.vaadin.tests.fieldgroup; import java.util.Date; import java.util.Locale; +import com.vaadin.annotations.PropertyId; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.AbstractTestUIWithLog; import com.vaadin.tests.data.bean.Person; @@ -12,7 +13,6 @@ import com.vaadin.ui.Notification; import com.vaadin.v7.data.fieldgroup.BeanFieldGroup; import com.vaadin.v7.data.fieldgroup.FieldGroup; import com.vaadin.v7.data.fieldgroup.FieldGroup.CommitException; -import com.vaadin.v7.data.fieldgroup.PropertyId; import com.vaadin.v7.data.util.BeanItem; import com.vaadin.v7.ui.DateField; import com.vaadin.v7.ui.InlineDateField; diff --git a/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormBuilderWithNestedProperties.java b/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormBuilderWithNestedProperties.java index dd8b78510c..488c180d8b 100644 --- a/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormBuilderWithNestedProperties.java +++ b/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormBuilderWithNestedProperties.java @@ -1,5 +1,6 @@ package com.vaadin.tests.fieldgroup; +import com.vaadin.annotations.PropertyId; import com.vaadin.tests.components.TestBase; import com.vaadin.tests.data.bean.Address; import com.vaadin.tests.data.bean.Country; @@ -7,7 +8,6 @@ import com.vaadin.tests.data.bean.Person; import com.vaadin.tests.data.bean.Sex; import com.vaadin.v7.data.fieldgroup.BeanFieldGroup; import com.vaadin.v7.data.fieldgroup.FieldGroup; -import com.vaadin.v7.data.fieldgroup.PropertyId; import com.vaadin.v7.data.util.BeanItem; import com.vaadin.v7.ui.TextField; diff --git a/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java b/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java index fb57932caa..8605c76f46 100644 --- a/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java +++ b/uitest/src/main/java/com/vaadin/tests/fieldgroup/FormWithNestedProperties.java @@ -1,5 +1,6 @@ package com.vaadin.tests.fieldgroup; +import com.vaadin.annotations.PropertyId; import com.vaadin.tests.data.bean.Address; import com.vaadin.tests.data.bean.Country; import com.vaadin.tests.data.bean.Person; @@ -7,7 +8,6 @@ import com.vaadin.tests.data.bean.Sex; import com.vaadin.tests.util.Log; import com.vaadin.ui.CheckBox; import com.vaadin.v7.data.fieldgroup.BeanFieldGroup; -import com.vaadin.v7.data.fieldgroup.PropertyId; import com.vaadin.v7.ui.NativeSelect; import com.vaadin.v7.ui.TextField; diff --git a/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a1/FormUsingExistingLayout.java b/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a1/FormUsingExistingLayout.java index 6b8cd4b758..e6ae8e9168 100644 --- a/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a1/FormUsingExistingLayout.java +++ b/uitest/src/main/java/com/vaadin/tests/minitutorials/v7a1/FormUsingExistingLayout.java @@ -1,10 +1,10 @@ package com.vaadin.tests.minitutorials.v7a1; +import com.vaadin.annotations.PropertyId; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.AbstractReindeerTestUI; import com.vaadin.ui.GridLayout; import com.vaadin.v7.data.fieldgroup.FieldGroup; -import com.vaadin.v7.data.fieldgroup.PropertyId; import com.vaadin.v7.data.util.BeanItem; import com.vaadin.v7.ui.TextArea; import com.vaadin.v7.ui.TextField; |