2728293031323334353637
this.uiCommand= uiCommand; } public void to(final HasClickHandlers button) { HandlerRegistration registration= button.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { uiCommand.execute(); }
193194195196197198199200201202203
else { doAddNow(type, source, handler); } return new HandlerRegistration() { public void removeHandler() { doRemove(type, source, handler); }