why IsWidget is interface?

2011-04-08 Thread Diego Lovison
why the class IsWidget is interface and not an annotation? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: why IsWidget is interface?

2011-04-08 Thread Jens
To decouple actual widget implementations so we can provide fake widgets to methods during testing. Its primary use case is not to be a marker interface for widgets. JavaDoc of IsWidget: *Extended by view interfaces that are likely to be implemented by Widgets. Provides access to that widget,