On Tuesday, February 8, 2011 3:18:46 AM UTC+1, Colin Alworth wrote: > > The only concerns I had were for events that might have already been wired > up, say from something implementing HasEditorDelegate, but it should be the > implementing class's responsibility to clear out old registrations... Okay, > so when (in either case) should those be cleared out? When setDelegate is > called again? But what if it isn't called again – then do those subscribed > events just keep going off? Or maybe take them out on .flush(), since you > know then that "the Editor cycle is finished"? >
Or should you rather pass a ResettableEventBus to initialize() ? (for instance, the one passed to your Activity, which would scope an EditorDriver instance to an Activity, rather than scoping it to the view) -- 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.
