Chat refactoring

2 views
Skip to first unread message

Rémi Dewitte

unread,
Aug 16, 2010, 4:13:17 AM8/16/10
to emite
Hello,

I have noticed that some work is being done on ChatManager and more generally on the emite library.
I might have some additional work to do on my project using emite. One feature I miss is the ability to un-register listeners. Do you think it is a good time to incorporate this feature ?

Cheers,
Rémi

dani

unread,
Aug 17, 2010, 4:41:31 AM8/17/10
to em...@googlegroups.com

Hello Rémi:

Yes, unregister listeners is part of this refactoring. We move from the old Suco's listener system (the old days of gwt) to the new and widely adopted GwtEvent system. Using the new addXXXHandler method (instead of the old OnXXX method) you can use the returned result (a HandlerRegistration object) to unregister listener whenever you want.

I hope it's what you need.

Saludos
Dani


2010/8/16 Rémi Dewitte <remid...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "emite" group.
To post to this group, send email to em...@googlegroups.com.
To unsubscribe from this group, send email to emite+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/emite?hl=en.

Rémi Dewitte

unread,
Aug 17, 2010, 4:54:22 AM8/17/10
to em...@googlegroups.com
Hello Dani,

Thanks. Seems perfect !

Rémi
Reply all
Reply to author
Forward
0 new messages