List of usage examples for com.vaadin.ui Window isAttached
@Override public boolean isAttached()
From source file:com.yoncabt.ebr.ui.MyVaadinUI.java
private MenuBar.Command menuCommand(final Window window) { return (MenuBar.MenuItem selectedItem) -> { if (!window.isAttached()) { MyVaadinUI.this.addWindow(window); }/*from w w w .java 2 s .c o m*/ }; }