[gwt-contrib] EventBus interface

2010-09-11 Thread jarrod
Is there any reason NOT to add the following method to the EventBus
interface?

H extends EventHandler void removeHandler(GwtEvent.TypeH type, H
handler);

This would make it much easier to adopt the use of EventBus throughout
my application instead of referring to the HandlerManager concrete
implementation.

Shoot, maybe all of HandlerManager's public methods should be part of
the EventBus interface?

http://code.google.com/p/google-web-toolkit/issues/detail?id=5271

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] EventBus interface

2010-09-11 Thread Ray Ryan
Please see the discussion here:

http://gwt-code-reviews.appspot.com/841804/show

We much prefer to keep the api minimal.

On Sat, Sep 11, 2010 at 5:24 PM, jarrod jarrod.carl...@gmail.com wrote:

 Is there any reason NOT to add the following method to the EventBus
 interface?

 H extends EventHandler void removeHandler(GwtEvent.TypeH type, H
 handler);

 This would make it much easier to adopt the use of EventBus throughout
 my application instead of referring to the HandlerManager concrete
 implementation.

 Shoot, maybe all of HandlerManager's public methods should be part of
 the EventBus interface?

 http://code.google.com/p/google-web-toolkit/issues/detail?id=5271

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors