Example #1
0
 @Override
 public HandlerRegistration addActivateWindowHandler(ActivateWindowHandler handler) {
   return eventBus.addHandlerToSource(ActivateWindowEvent.getType(), this, handler);
 }
Example #2
0
 protected <H extends EventHandler> HandlerRegistration addHandler(Type<H> type, H handler) {
   return handlers.addHandlerToSource(type, this, handler);
 }