diff options
author | Leif Åstrand <leif@vaadin.com> | 2015-03-10 15:04:14 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-03-17 09:09:44 +0000 |
commit | 2494350462ff9fe613d51e7487eef82f26ef44b1 (patch) | |
tree | 7911f31430a072308a5e2be309d16f392c97d955 /uitest/src/com | |
parent | 940b082cd547a110a45e69c13e50a583e9f7ef11 (diff) | |
download | vaadin-framework-2494350462ff9fe613d51e7487eef82f26ef44b1.tar.gz vaadin-framework-2494350462ff9fe613d51e7487eef82f26ef44b1.zip |
Revert "Displaying tooltip in slot for touch devices (#15353)" (#17151)
Should not have been merged since there were still stuff pending ("This
patchset doesn't include styling for the error message") that was not
addressed before submitting.
This reverts commit 05fc5806e7946223e057ad7458a18dadceb0566f.
Change-Id: Idd723f22f42e2e8ee71059b9591d44fafadea27e
Diffstat (limited to 'uitest/src/com')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/TouchDevicesTooltip.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/uitest/src/com/vaadin/tests/components/TouchDevicesTooltip.java b/uitest/src/com/vaadin/tests/components/TouchDevicesTooltip.java deleted file mode 100644 index 1a3b4cdda5..0000000000 --- a/uitest/src/com/vaadin/tests/components/TouchDevicesTooltip.java +++ /dev/null @@ -1,57 +0,0 @@ -package com.vaadin.tests.components; - -import com.vaadin.data.util.converter.StringToIntegerConverter; -import com.vaadin.data.validator.IntegerRangeValidator; -import com.vaadin.server.VaadinRequest; -import com.vaadin.ui.Label; -import com.vaadin.ui.TextField; - -import javax.validation.constraints.Min; -import javax.validation.constraints.NotNull; - -public class TouchDevicesTooltip extends AbstractTestUI { - - @Override - protected void setup(VaadinRequest request) { - final Label errorLabel = new Label("No error"); - addComponent(errorLabel); - - TextField textField = new TextField("Value"); - textField.setConverter(new StringToIntegerConverter()); - textField.addValidator(new IntegerRangeValidator("incorrect value", 0, 100)); - textField.setImmediate(true); - textField.setValue("-5"); - addComponent(textField); - - TextField textField2 = new TextField("Value2"); - textField2.setConverter(new StringToIntegerConverter()); - textField2.addValidator(new IntegerRangeValidator("incorrect value2", 0, 100)); - textField2.setImmediate(true); - textField2.setValue("-5"); - addComponent(textField2); - } - - public static class Bean { - @NotNull - @Min(0) - private Integer value; - - public Integer getValue() { - return value; - } - - public void setValue(Integer value) { - this.value = value; - } - } - - @Override - protected Integer getTicketNumber() { - return 15353; - } - - @Override - public String getDescription() { - return "Displaying error message in slot for touch devices"; - } -} |