diff options
Diffstat (limited to 'uitest/src')
-rw-r--r-- | uitest/src/com/vaadin/tests/extensions/BrowserPopupExtensionTest.java | 12 | ||||
-rw-r--r-- | uitest/src/com/vaadin/tests/minitutorials/v7b6/OpeningUIInPopup.java | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/uitest/src/com/vaadin/tests/extensions/BrowserPopupExtensionTest.java b/uitest/src/com/vaadin/tests/extensions/BrowserPopupExtensionTest.java index d69ebfab56..196592d376 100644 --- a/uitest/src/com/vaadin/tests/extensions/BrowserPopupExtensionTest.java +++ b/uitest/src/com/vaadin/tests/extensions/BrowserPopupExtensionTest.java @@ -19,7 +19,7 @@ package com.vaadin.tests.extensions; import java.util.ArrayList; import java.util.List; -import com.vaadin.server.BrowserPopupOpener; +import com.vaadin.server.BrowserWindowOpener; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.AbstractTestUI; import com.vaadin.tests.components.popupview.ReopenPopupView; @@ -47,16 +47,16 @@ public class BrowserPopupExtensionTest extends AbstractTestUI { addComponents(components, "http://vaadin.com/download/nightly/"); Button uiClassButton = new Button("Open UI class"); - new BrowserPopupOpener(ReopenPopupView.class).extend(uiClassButton); + new BrowserWindowOpener(ReopenPopupView.class).extend(uiClassButton); addComponent(uiClassButton); Button uiWithPath = new Button("Open UI class with path"); - new BrowserPopupOpener(ReopenPopupView.class, "foobar") + new BrowserWindowOpener(ReopenPopupView.class, "foobar") .extend(uiWithPath); addComponent(uiWithPath); Button withPopupFeaturesButton = new Button("Open with features"); - BrowserPopupOpener featuresPopup = new BrowserPopupOpener( + BrowserWindowOpener featuresPopup = new BrowserWindowOpener( "http://vaadin.com/download/nightly/"); featuresPopup.setFeatures("width=400,height=400"); featuresPopup.extend(withPopupFeaturesButton); @@ -76,7 +76,7 @@ public class BrowserPopupExtensionTest extends AbstractTestUI { c.setHeight("100px"); hl.addComponent(c); - new BrowserPopupOpener(URL).extend(c); + new BrowserWindowOpener(URL).extend(c); if (c instanceof Button) { ((Button) c).addClickListener(new ClickListener() { @@ -95,7 +95,7 @@ public class BrowserPopupExtensionTest extends AbstractTestUI { @Override protected String getTestDescription() { - return "Test for " + BrowserPopupOpener.class.getSimpleName() + return "Test for " + BrowserWindowOpener.class.getSimpleName() + " features"; } diff --git a/uitest/src/com/vaadin/tests/minitutorials/v7b6/OpeningUIInPopup.java b/uitest/src/com/vaadin/tests/minitutorials/v7b6/OpeningUIInPopup.java index 7fd8373bbd..43e2fdad7e 100644 --- a/uitest/src/com/vaadin/tests/minitutorials/v7b6/OpeningUIInPopup.java +++ b/uitest/src/com/vaadin/tests/minitutorials/v7b6/OpeningUIInPopup.java @@ -16,7 +16,7 @@ package com.vaadin.tests.minitutorials.v7b6; -import com.vaadin.server.BrowserPopupOpener; +import com.vaadin.server.BrowserWindowOpener; import com.vaadin.server.VaadinRequest; import com.vaadin.ui.Button; import com.vaadin.ui.UI; @@ -27,7 +27,7 @@ public class OpeningUIInPopup extends UI { protected void init(VaadinRequest request) { Button popupButton = new Button("Open popup with MyPopupUI"); - BrowserPopupOpener popupOpener = new BrowserPopupOpener(MyPopupUI.class); + BrowserWindowOpener popupOpener = new BrowserWindowOpener(MyPopupUI.class); popupOpener.setFeatures("height=300,width=300"); popupOpener.extend(popupButton); |