You can make a generic Event and it will work on a HandlerManager.
For an example see ValueChangeEvent<?> in gwt source code.

2010/5/6 Thomas Broyer <[email protected]>

>
>
> On May 6, 3:05 pm, Julio Faerman <[email protected]> wrote:
> > Hello,
> >
> > Is it possible to define event "subtypes" ? I would like to define a
> > "GenericEvent" and a "SpecificEvent" so that when a "SpecificEvent" is
> > fired in the HandlerManager, both generic and specific event handlers
> > are notified.
>
> Not the way HandlerManager is implemented (provided you're talking
> about firing events in a HandlerManager). But you could have a
> SpecificHandler registered to automatically fire a GenericEvent for
> the given SpecificEvent.
>
> >
> > Thanks in avance for your support.
> >
> > --
> > 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]<google-web-toolkit%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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

Reply via email to