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, if it exists, without compromising the ability to provide a mock view instance in JRE unit tests.* * * * * If you do not have the ability to provide a mock/fake view instance during testing then you have to use a slow GWTTestCase instead of a fast JRE JUnit TestCase. -- 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.
