]> source.dussan.org Git - vaadin-framework.git/commit
Make it possible to disallow user selection in Grid (#8144)
authorArtur <artur@vaadin.com>
Mon, 30 Jan 2017 11:47:55 +0000 (13:47 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2017 11:47:55 +0000 (13:47 +0200)
commit131e4f34bddf99d61a76fcd49890490c78c3efa8
tree1276e94ddbec6a8fc612bedf87835cd366e5f0a5
parent870a4d9ab386de41b0c5e344d16ebfd9c13b2951
Make it possible to disallow user selection in Grid (#8144)

Fixes #7880
18 files changed:
client/src/main/java/com/vaadin/client/connectors/MultiSelectionModelConnector.java
client/src/main/java/com/vaadin/client/connectors/SingleSelectionModelConnector.java
client/src/main/java/com/vaadin/client/widget/grid/selection/ClickSelectHandler.java
client/src/main/java/com/vaadin/client/widget/grid/selection/HasUserSelectionAllowed.java [new file with mode: 0644]
client/src/main/java/com/vaadin/client/widget/grid/selection/MultiSelectionRenderer.java
client/src/main/java/com/vaadin/client/widget/grid/selection/SelectionModelMulti.java
client/src/main/java/com/vaadin/client/widget/grid/selection/SelectionModelSingle.java
client/src/main/java/com/vaadin/client/widget/grid/selection/SpaceSelectHandler.java
client/src/main/java/com/vaadin/client/widgets/Grid.java
documentation/components/components-grid.asciidoc
server/src/main/java/com/vaadin/ui/Grid.java
server/src/test/java/com/vaadin/tests/server/component/grid/MultiSelectionModelTest.java
server/src/test/java/com/vaadin/tests/server/component/grid/SingleSelectionModelTest.java
server/src/test/java/com/vaadin/ui/ComponentTest.java [new file with mode: 0644]
shared/src/main/java/com/vaadin/shared/ui/grid/selection/MultiSelectionModelState.java
shared/src/main/java/com/vaadin/shared/ui/grid/selection/SingleSelectionModelState.java
uitest/src/main/java/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java
uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/server/GridSelectionTest.java