Monday, August 1, 2011

This class is a legacy wrapper for com.google.web.bindery.event.shared.EventBus

How can I prevent this code from being executed?

at com.google.gwt.event.shared.EventBus.addHandlerToSource(EventBus.java:39)


I changed all proxy-related code to use com.google.web.bindery.* instead of com.google.gwt.* to remove all warnings related to deprecated classes/attributes.  Everything compiles, but now the application fails to start because of this code.

I have a NestedActivityManager (which almost duplicates com.google.gwt.activity.shared.ActivityManager) that uses com.google.gwt.event.shared.ResettableEventBus, and this ResettableEventBus causes the problem.
When I try to replace com.google.gwt.event.shared.ResettableEventBus with com.google.web.bindery.event.shared.ResettableEventBus, NestedActivityManager cannot compile because currentActivity.start() requires the legacy event bus as the second parameter.

How can this be fixed?



 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5_iPEwFO96QJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment