Hi All,

I am new to GWT and I am trying to implement an MVP pattern in my app.
Having watched Daniel Danilatos session on GWT Testing Best Practices
from Google IO 2010 I am particularly interested if anyone can point
me in the right direction to some sample code based on what Daniel
presented ie:

interface ThumbnailView {
    interface Listener {
         void onClick();
    }

    void setListener(Listener listener);
    void setUrl(String);
    void setCaption(String);
}

This being in contrast to Ray Ryan's approach a year before with:

interface Display {
    HasClickHandlers getHello();
}

I want to be able to set a listener on the view instead of getting a
reference of sorts from the view.

Any help is much appreciated

Thanks

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