If you fire an event via the EventBus, you can fire it with or without a 
specific source (EventBus.fire() and EventBus.fireFromSource() ). The same 
applies to listening for events on the EventBus. You can listen for every 
Event of a given Type or you can only listen for Events of a given Type and 
from a specific source.

If you use a custom Event inside a custom Widget using Widget.addHandler() 
and Widget.fire(), GWT will set widget as source automatically.

So you don't really need access to setSource() because its already handled 
for you.

-- J.

-- 
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/-/bR0sqUfSDS4J.
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.

Reply via email to