Thursday, June 19, 2014

Use of HandlerManager in GWT example code conflicts with javadoc

I've been implementing the MVP pattern for my application. The description of MVP on the site and the example code has been very helpful, especially as I lack experience with GUI patterns and many descriptions of MVP and MVC are somewhat abstract. However, I've noticed that the javadoc for HandlerManager says that developers are strongly discouraged from using it for an event dispatch mechanism, which is the opposite of what seems to be suggested in the code (Contacts and Contacts2). Can someone clarify this point for me? I'm wondering why the discrepancy, and if maybe we should update the example code somehow.

Kay

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment