summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/fieldgroup
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-02-09 14:11:01 +0200
committerLeif Åstrand <leif@vaadin.com>2015-02-10 10:53:05 +0200
commitf360817b0be2368489301baf1aa1985e165e4c36 (patch)
tree9cabffaa76c8f7951454ded4414a554911995304 /uitest/src/com/vaadin/tests/fieldgroup
parent853fab7913d318e913da7c20b46c164b51cdf82d (diff)
downloadvaadin-framework-f360817b0be2368489301baf1aa1985e165e4c36.tar.gz
vaadin-framework-f360817b0be2368489301baf1aa1985e165e4c36.zip
Remove grid.[set|get]EditorField(Object, Field) (#16538)
Change-Id: Ia5c09b80e32f9842fb4680f035b53cea755cb451
Diffstat (limited to 'uitest/src/com/vaadin/tests/fieldgroup')
-rw-r--r--uitest/src/com/vaadin/tests/fieldgroup/BasicCrudGridEditorRow.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/fieldgroup/BasicCrudGridEditorRow.java b/uitest/src/com/vaadin/tests/fieldgroup/BasicCrudGridEditorRow.java
index 63ba2986e1..62c217445f 100644
--- a/uitest/src/com/vaadin/tests/fieldgroup/BasicCrudGridEditorRow.java
+++ b/uitest/src/com/vaadin/tests/fieldgroup/BasicCrudGridEditorRow.java
@@ -47,8 +47,11 @@ public class BasicCrudGridEditorRow extends AbstractBasicCrud {
});
grid.setEditorEnabled(true);
grid.setSizeFull();
- grid.getEditorField("age").addValidator(
- new IntegerRangeValidator("Must be between 0 and 100", 0, 100));
+ grid.getColumn("age")
+ .getEditorField()
+ .addValidator(
+ new IntegerRangeValidator("Must be between 0 and 100",
+ 0, 100));
addComponent(grid);
getLayout().setExpandRatio(grid, 1);
}