@Test public void wrapWindow() { final VerticalLayout content = new VerticalLayout(); final Window w = new Window("Test", content); final UI app = instance.wrap(w); assertEquals("One window should be attached", 1, app.getWindows().size()); assertEquals("window was not wrapped properly", w, app.getWindows().iterator().next()); }
public UI wrapWindow(Window window) { final UI ui = wrapLayout(new VerticalLayout()); ui.addWindow(window); return ui; }
ComponentWrapper { public UI wrapWindow(Window window) { final UI ui = wrapLayout(new VerticalLayout()); ui.addWindow(window); return ui; } }
ComponentWrapper { public UI wrapWindow(Window window) { final UI ui = wrapLayout(new VerticalLayout()); ui.addWindow(window); return ui; } ComponentWrapper(ComponentBasedVaadinServer server); }
ComponentWrapper { public UI wrapWindow(Window window) { final UI ui = wrapLayout(new VerticalLayout()); ui.addWindow(window); return ui; } ComponentWrapper(ComponentBasedVaadinServer server); UI wrap(Component component); UI wrapLayout(Layout layout); UI wrapWindow(Window window); }
ComponentWrapper { public UI wrapWindow(Window window) { final UI ui = wrapLayout(new VerticalLayout()); ui.addWindow(window); return ui; } ComponentWrapper(ComponentBasedVaadinServer server); UI wrap(Component component); UI wrapLayout(Layout layout); UI wrapWindow(Window window);  }