public class PresenterFactory {
public IPresenter getPresenter(String appTitle, String viewTitle) {
IPresenter view = new UndefinedView(appTitle, viewTitle);
if (appTitle.equalsIgnoreCase("home") && viewTitle.equalsIgnoreCase("main"))
view = new gwtappcontainer.client.apps.home.main.Presenter();
else if (appTitle.equalsIgnoreCase("videos") && viewTitle.equalsIgnoreCase("view"))
view = new gwtappcontainer.client.apps.videos.view.Presenter();