diff options
author | Henri Sara <hesara@vaadin.com> | 2016-07-14 16:03:39 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-08-11 17:04:31 +0300 |
commit | 6b8545841ef3742d10dea8c21e3ac5aac4ca70f7 (patch) | |
tree | 99441af2ce550c9fcf9680dc7b43a29c0895c11e /shared | |
parent | 8b8752c520c9d2d1f0673b7edf95e56eaeea160f (diff) | |
download | vaadin-framework-6b8545841ef3742d10dea8c21e3ac5aac4ca70f7.tar.gz vaadin-framework-6b8545841ef3742d10dea8c21e3ac5aac4ca70f7.zip |
Move multi-select mode to AbstractSelectState
This change does not affect Table and Tree which use multiple modes.
Change-Id: Ib93a088e88474301eb199988f941563566e6bcc5
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java index 8ea306daf6..6b541f3ac0 100644 --- a/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java +++ b/shared/src/main/java/com/vaadin/shared/ui/select/AbstractSelectState.java @@ -1,12 +1,12 @@ /* * Copyright 2000-2014 Vaadin Ltd. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -19,7 +19,7 @@ import com.vaadin.shared.AbstractFieldState; /** * Shared state for the AbstractSelect component. - * + * * @since 7.6 */ public class AbstractSelectState extends AbstractFieldState { @@ -27,4 +27,12 @@ public class AbstractSelectState extends AbstractFieldState { { primaryStyleName = "v-select"; } + + /** + * Is the select in multiselect mode? + * + * Note that Table and Tree still use the old communication mechanism for + * multi-mode support. + */ + public boolean multiSelect; } |