Skip to content

Commit b8faf6e

Browse files
committed
typedrest-vaadin: ViewComponent: Expose asWindow() instead of containingWindow as protected
1 parent 403ecc5 commit b8faf6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vaadin/src/main/java/com/oneandone/typedrest/vaadin/views/ViewComponent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ protected void open(ViewComponent component) {
5858
getUI().addWindow(component.asWindow());
5959
}
6060

61-
protected Window containingWindow;
61+
private Window containingWindow;
6262

6363
/**
6464
* Wraps the control in a {@link Window}.
6565
*
6666
* @return The newly created window.
6767
*/
68-
private Window asWindow() {
68+
protected Window asWindow() {
6969
if (containingWindow == null) {
7070
containingWindow = new Window(getCaption(), this);
7171
containingWindow.setWidth(80, Unit.PERCENTAGE);

0 commit comments

Comments
 (0)