2728293031323334353637
this.uiCommand= uiCommand; } public void to(final HasClickHandlers button) { HandlerRegistration registration= button.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { uiCommand.execute(); }