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

29 views
Skip to first unread message

Y2i

unread,
Aug 1, 2011, 3:06:35 PM8/1/11
to google-we...@googlegroups.com
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?



 

Reply all
Reply to author
Forward
0 new messages