Hi,

I need a little advice,
There is a Place in my application which contains 3 widgets (Editor, 
CellTable+Pager, Chart).
I created one view using UiBinder, implemented a view interface and Created 
Activity that implements the Presenter interface in the view's interface.
Up to here, everything is fine, and was developed using the MVP 
documentation.

I've now decided to split some code, I'm about to create one view for the 
Editor, one for the Chart and one for the CellTable.
Each view will have it's own Presenter.
I read a little bit in the group and got this idea of using Activities with 
several presenters.
So basically the Activity now will handle the 3 presenter, 
and unnecessary code will be moved from the activity itself to the 
presenter.

Now, my question :
How would you suggest to implement "connection" between Activity - View - 
Presenter.
2 interfaces, one for activity-presenter and one for view-presenter?
1 Interface for the view and the presenter, and presenter send events to the 
activity?
maybe 1 interface for all of them?
There a lot of other ways.. but what would you suggest?

Thanks a lot in advanced,
Ido

-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to