@ Override public void buttonClick ( final ClickEvent event ) { if ( window . getParent ( ) != null ) { isImplicitClose = true ; UI . getCurrent ( ) . removeWindow ( window ) ; } callback . response ( event . getSource ( ) . equals ( okButton ) ) ; }
TenantAwareEvent handler for button clicks .