Does this help creating custom events?:

https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/event/HeaderNotificationEvent.java
https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/event/HeaderNotificationHandler.java

Also register handler with eventbus
https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/application/DesktopApp.java

this.eventBus.addHandler(HeaderNotificationEvent.TYPE, shell);

And then the fireing:
https://github.com/ashtonthomas/beans/blob/master/src/com/billy/bob/client/activity/main/HomeActivity.java

HeaderNotificationEvent event = new HeaderNotificationEvent("Processing the 
Home Activity");
eventBus.fireEvent(event);

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