Hellu, I would like to know whtat the current status is of "incoparating more basis interface in GWT"?
We talked about this a long time ago, but there more important issues then: http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/2aad0c3459e2c7f/cd59f6b35714ed31?lnk=gst&q=more+interfaces I still keep on bouncing my head against these kind of interface issues: Below another example, which I hope would give some more priority to the issue: I need a general TextWidget that "extends/implements" from Widget and implements HasText, HasHtml. I thought I could easily solve this with Generics... Not.. really (see below). I want to return a Widget as result of a method that creates a Widget that implements HasHtml/HasText. I tried something like this: <W extends Widget & HasText & HasHTML> CmsFormatResultText<W> create (String item); But calling this method isn't possible as the compiler complaints that Widget isn't a valid substitute. Body example: return new HTML("aaa"); Which isn't correct as the compiler also complaints about not able to convert HTML to W... To solve this, I think I need a basis Widget interface instead of a Widget class. Please some feedback/advice on this. -- Ed --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---