diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-11-23 11:46:14 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-11-23 11:46:14 +0200 |
commit | 9f97638b0f75b882b76eeb5d2b95f87bb5263a73 (patch) | |
tree | 4efd1ee49bb6d7322124e8c8bcf9c2ed7a51f042 /uitest/src/com/vaadin/tests/extensions | |
parent | b73ac55836d0d6a56af615572a3d7f29afc3fe5c (diff) | |
download | vaadin-framework-9f97638b0f75b882b76eeb5d2b95f87bb5263a73.tar.gz vaadin-framework-9f97638b0f75b882b76eeb5d2b95f87bb5263a73.zip |
Refactor BrowserPopupOpener API (#10241)
* Rename BrowserPopupOpener to BrowserWindowOpener
* Rename setPopupName -> setWindowName
* Rename BrowserPopupUIProvider -> BrowserWindowUIProvider
* Make BrowserWindowUIProvider a private static inner class
Change-Id: Id839b274762424bb50fe3590d7cd1187e92baa6c
Diffstat (limited to 'uitest/src/com/vaadin/tests/extensions')
-rw-r--r-- | uitest/src/com/vaadin/tests/extensions/BrowserPopupExtensionTest.java | 12 |
1 files changed, 6 insertions, 6 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"; } |