I also noticed that editors do not work with interfaces even though the documentation says they should http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html#Editor_contract
On Dec 16, 10:09 am, skrat <[email protected]> wrote: > Hi All, I really see big potential in new and shiny editor framework. Works > pretty well so far, but I noticed, that it doesn't work when I use > interfaces for my views. Typical example: you describe your view as an > interface: > > interface FooView extends Editor<Foo> { ... } > > then instance of this get injected into presenter's constructor, where you > want initialize your Driver with this view. That's it, doesn't seem to work. > > interface Driver extends SimpleBeanEditorDriver<Foo, FooView> { } > > ...doesn't work. While following does: > > interface Driver extends SimpleBeanEditorDriver<Foo, SimpleFooView> { } > > where SimpleFooView implements FooView. Is it a bug or a feature? Does it > have something to do with crippled reflection in GWT? -- 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.
