Ohhh, thanks, that's very helpful! Should probably be added to the GWT MVP
docs, because no MVP app should ignore this.

On 15 April 2011 14:49, Jens <[email protected]> wrote:

> You wont have a second event bus. ResettableEventBus just wraps an existing
> one and keeps track of all handlers you have added to it so you can easily
> remove them. So each presenter would have its own ResettableEventBus
> instance but each instance wraps the same singleton EventBus of your app.
>
> Its basically the same what you have done now by putting all handler
> registrations in a list and remove them when a presenter was not being used
> anymore. But instead storing that list in a presenter instance its stored in
> a ResettableEventBus instance (that a presenter would use).
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to