// Path: archetypes/mgwt-basic/src/main/java/gov/wa/wsdot/apps/mgwtbasic/client/activities/home/HomePlace.java
// public class HomePlace extends Place {
// 
// 	public static class HomePlaceTokenizer implements PlaceTokenizer<HomePlace> {
// 
// 		@Override
// 		public HomePlace getPlace(String token) {
// 			return new HomePlace();
// 		}
// 
// 		@Override
// 		public String getToken(HomePlace place) {
// 			return "";
// 		}
// 
// 	}
// 
// 	@Override
// 	public int hashCode() {
// 		return 3;
// 	}
// 
// 	@Override
// 	public boolean equals(Object other) {
// 		if (other == this) {
// 			return true;
// 		}
// 
// 		if (other == null) {
// 			return false;
// 		}
// 		
// 		if (other instanceof HomePlace) {
// 			return true;
// 		}
// 		
// 		return false;
// 	}
// }


import gov.wa.wsdot.apps.mgwtbasic.client.activities.home.HomePlace;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;
import com.googlecode.mgwt.mvp.client.AnimatingActivityManager;
import com.googlecode.mgwt.mvp.client.history.MGWTPlaceHistoryHandler;
import com.googlecode.mgwt.ui.client.MGWT;
import com.googlecode.mgwt.ui.client.MGWTSettings;
import com.googlecode.mgwt.ui.client.MGWTSettings.ViewPort;
import com.googlecode.mgwt.ui.client.util.SuperDevModeUtil;
import com.googlecode.mgwt.ui.client.widget.animation.AnimationWidget;
package gov.wa.wsdot.apps.mgwtbasic.client;



public class BasicEntryPoint implements EntryPoint {
  
    private void start() {
        SuperDevModeUtil.showDevMode();

        ViewPort viewPort = new MGWTSettings.ViewPort();
        viewPort.setUserScaleAble(false).setInitialScale(1.0).setMinimumScale(1.0).setMaximumScale(1.0);

        MGWTSettings settings = new MGWTSettings();
        settings.setViewPort(viewPort);
        settings.setIconUrl("logo.png");
        settings.setFullscreen(true);
        settings.setFixIOS71BodyBug(true);
        settings.setPreventScrolling(true);

        MGWT.applySettings(settings);

        final ClientFactory clientFactory = new ClientFactoryImpl();

        // Start PlaceHistoryHandler with our PlaceHistoryMapper
        AppPlaceHistoryMapper historyMapper = GWT.create(AppPlaceHistoryMapper.class);
        
        createPhoneDisplay(clientFactory);

        AppHistoryObserver historyObserver = new AppHistoryObserver();
        MGWTPlaceHistoryHandler historyHandler = new MGWTPlaceHistoryHandler(historyMapper, historyObserver);
// Path: archetypes/mgwt-basic/src/main/java/gov/wa/wsdot/apps/mgwtbasic/client/activities/home/HomePlace.java
// public class HomePlace extends Place {
// 
// 	public static class HomePlaceTokenizer implements PlaceTokenizer<HomePlace> {
// 
// 		@Override
// 		public HomePlace getPlace(String token) {
// 			return new HomePlace();
// 		}
// 
// 		@Override
// 		public String getToken(HomePlace place) {
// 			return "";
// 		}
// 
// 	}
// 
// 	@Override
// 	public int hashCode() {
// 		return 3;
// 	}
// 
// 	@Override
// 	public boolean equals(Object other) {
// 		if (other == this) {
// 			return true;
// 		}
// 
// 		if (other == null) {
// 			return false;
// 		}
// 		
// 		if (other instanceof HomePlace) {
// 			return true;
// 		}
// 		
// 		return false;
// 	}
// }


// Path: archetypes/mgwt-basic/src/main/java/gov/wa/wsdot/apps/mgwtbasic/client/BasicEntryPoint.java
import gov.wa.wsdot.apps.mgwtbasic.client.activities.home.HomePlace;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.RootPanel;
import com.googlecode.mgwt.mvp.client.AnimatingActivityManager;
import com.googlecode.mgwt.mvp.client.history.MGWTPlaceHistoryHandler;
import com.googlecode.mgwt.ui.client.MGWT;
import com.googlecode.mgwt.ui.client.MGWTSettings;
import com.googlecode.mgwt.ui.client.MGWTSettings.ViewPort;
import com.googlecode.mgwt.ui.client.util.SuperDevModeUtil;
import com.googlecode.mgwt.ui.client.widget.animation.AnimationWidget;

package gov.wa.wsdot.apps.mgwtbasic.client;



public class BasicEntryPoint implements EntryPoint {
  
    private void start() {
        SuperDevModeUtil.showDevMode();

        ViewPort viewPort = new MGWTSettings.ViewPort();
        viewPort.setUserScaleAble(false).setInitialScale(1.0).setMinimumScale(1.0).setMaximumScale(1.0);

        MGWTSettings settings = new MGWTSettings();
        settings.setViewPort(viewPort);
        settings.setIconUrl("logo.png");
        settings.setFullscreen(true);
        settings.setFixIOS71BodyBug(true);
        settings.setPreventScrolling(true);

        MGWT.applySettings(settings);

        final ClientFactory clientFactory = new ClientFactoryImpl();

        // Start PlaceHistoryHandler with our PlaceHistoryMapper
        AppPlaceHistoryMapper historyMapper = GWT.create(AppPlaceHistoryMapper.class);
        
        createPhoneDisplay(clientFactory);

        AppHistoryObserver historyObserver = new AppHistoryObserver();
        MGWTPlaceHistoryHandler historyHandler = new MGWTPlaceHistoryHandler(historyMapper, historyObserver);
        historyHandler.register(clientFactory.getPlaceController(), clientFactory.getEventBus(), new HomePlace());