?? no,i just call fireEvent(event) in Wigdet to fire a customer defined event.
On Dec 9, 7:40 pm, Ed <[email protected]> wrote: > You use the event bus directly when using triggering "own" events like > a Validation event or Show event when a part of the display needs to > be shown, etc.. > > On Dec 9, 10:43 am, wahaha <[email protected]> wrote: > > > > > > > > > in what situation should we use eventbus directly? > > if we do not need use it directly,then i think the design of the > > structure of the map object in eventBus is too complex: > > Map<Event.Type<?>, Map<Object, List<?>>> > > actually,if we design it as Map<Event.Type<?>, List<?>>,then it can > > satisfy the requirement of eventManger.because the "Object" key is > > assigned with null in eventManager. > > sorry for my poor english .. -- 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.
