]> source.dussan.org Git - vaadin-framework.git/commit
Refactor server-side editor row to work in real(er) cases (#13334)
authorLeif Åstrand <leif@vaadin.com>
Fri, 12 Dec 2014 13:21:55 +0000 (15:21 +0200)
committerLeif Åstrand <leif@vaadin.com>
Fri, 12 Dec 2014 13:21:55 +0000 (15:21 +0200)
commitb7c01560877c3d1006422a84abb59e18ce357fad
treeda3322e27e1613e034df0fb702b24a84be5fcefc
parentde3ae6ef86e786d0383ea799001255deee6e03f3
Refactor server-side editor row to work in real(er) cases (#13334)

- Don't configure fields for properties without columns
- Rename "bind" to "set" to match the getter
- Make it possible to get a field before editing has started
- Remove setting of editable since the field can be configured directly
- Remove error handler concept since we have not tests and no use cases
- Unbind and detach field when removing a column

Change-Id: I38ead4e680cdbab2525fe08ff09ed045255e2d4f
server/src/com/vaadin/data/fieldgroup/FieldGroup.java
server/src/com/vaadin/ui/Grid.java
server/tests/src/com/vaadin/data/fieldgroup/FieldGroupTests.java
server/tests/src/com/vaadin/tests/server/component/grid/EditorRowTests.java
uitest/src/com/vaadin/tests/components/grid/EditorRowUI.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/grid/EditorRowUITest.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java