summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Select.java
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-02-08 14:18:08 +0200
committerHenri Sara <hesara@vaadin.com>2012-02-08 14:18:08 +0200
commita062383b16cc1394baa604a0841416d646e91fba (patch)
treefa7d04736ebde85618c1dd62c91a9de271512aa3 /src/com/vaadin/ui/Select.java
parent2bb7aae1c0cd44ad1ca260dec70b3225c8a226ac (diff)
downloadvaadin-framework-a062383b16cc1394baa604a0841416d646e91fba.tar.gz
vaadin-framework-a062383b16cc1394baa604a0841416d646e91fba.zip
Remove support for Select in multi-select mode (#8169, #8326).
Also includes some related cleanup as this was the last special case where the widget was selected on the client side based on UIDL fields other than tag.
Diffstat (limited to 'src/com/vaadin/ui/Select.java')
-rw-r--r--src/com/vaadin/ui/Select.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/Select.java b/src/com/vaadin/ui/Select.java
index 38785f3ab9..c1da88acea 100644
--- a/src/com/vaadin/ui/Select.java
+++ b/src/com/vaadin/ui/Select.java
@@ -754,11 +754,15 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering,
* @deprecated use {@link ListSelect}, {@link OptionGroup} or
* {@link TwinColSelect} instead
* @see com.vaadin.ui.AbstractSelect#setMultiSelect(boolean)
+ * @throws UnsupportedOperationException
+ * if trying to activate multiselect mode
*/
@Deprecated
@Override
public void setMultiSelect(boolean multiSelect) {
- super.setMultiSelect(multiSelect);
+ if (multiSelect) {
+ throw new UnsupportedOperationException("Multiselect not supported");
+ }
}
/**