// Path: archetypes/mgwt-basic-swipemenu/src/main/java/gov/wa/wsdot/apps/mgwt/client/ClientFactory.java
// public interface ClientFactory {
// 
// 	public HomeView getHomeView();
// 	public EventBus getEventBus();
// 	public PlaceController getPlaceController();
// 	public SwipeMenu getSwipeMenu();
// 	
// 	/**
// 	 * @return
// 	 */
// 	public AboutView getAboutView();
// 	public SampleView getSampleView();
//         public MenuView getMenuView();
// }
// 
// Path: archetypes/mgwt-basic-swipemenu/src/main/java/gov/wa/wsdot/apps/mgwt/client/event/ActionEvent.java
// public class ActionEvent extends Event<ActionEvent.Handler> {
// 
// 	public interface Handler {
// 		void onAction(ActionEvent event);
// 	}
// 
// 	private static final Type<ActionEvent.Handler> TYPE = new Type<ActionEvent.Handler>();
// 
// 	public static void fire(EventBus eventBus, String sourceName) {
// 		eventBus.fireEventFromSource(new ActionEvent(), sourceName);
// 	}
// 
// 	public static HandlerRegistration register(EventBus eventBus,
// 			String sourceName, Handler handler) {
// 		
// 		return eventBus.addHandlerToSource(TYPE, sourceName, handler);
// 	}
// 
// 	@Override
// 	public Type<Handler> getAssociatedType() {
// 		return TYPE;
// 	}
// 
// 	@Override
// 	protected void dispatch(ActionEvent.Handler handler) {
// 		handler.onAction(this);
// 	}
// 
// 	protected ActionEvent() {
// 	}
// 	
// }
// 
// Path: archetypes/mgwt-basic-swipemenu/src/main/java/gov/wa/wsdot/apps/mgwt/client/event/ActionNames.java
// public interface ActionNames {
// 	public static final String BACK = "back";
// 	public static final String ANIMATION_END = "ae";
// }


import gov.wa.wsdot.apps.mgwt.client.ClientFactory;
import gov.wa.wsdot.apps.mgwt.client.event.ActionEvent;
import gov.wa.wsdot.apps.mgwt.client.event.ActionNames;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.googlecode.mgwt.mvp.client.MGWTAbstractActivity;
package gov.wa.wsdot.apps.mgwt.client.activities.about;



public class AboutActivity extends MGWTAbstractActivity implements
		AboutView.Presenter {

	private final ClientFactory clientFactory;
	private AboutView view;
	private EventBus eventBus;

	public AboutActivity(ClientFactory clientFactory) {
		this.clientFactory = clientFactory;
	}

	@Override
	public void start(AcceptsOneWidget panel, final EventBus eventBus) {
		view = clientFactory.getAboutView();
		this.eventBus = eventBus;
		view.setPresenter(this);

		panel.setWidget(view);

	}

	@Override
	public void onStop() {
		view.setPresenter(null);
	}
	
// Path: archetypes/mgwt-basic-swipemenu/src/main/java/gov/wa/wsdot/apps/mgwt/client/ClientFactory.java
// public interface ClientFactory {
// 
// 	public HomeView getHomeView();
// 	public EventBus getEventBus();
// 	public PlaceController getPlaceController();
// 	public SwipeMenu getSwipeMenu();
// 	
// 	/**
// 	 * @return
// 	 */
// 	public AboutView getAboutView();
// 	public SampleView getSampleView();
//         public MenuView getMenuView();
// }
// 
// Path: archetypes/mgwt-basic-swipemenu/src/main/java/gov/wa/wsdot/apps/mgwt/client/event/ActionEvent.java
// public class ActionEvent extends Event<ActionEvent.Handler> {
// 
// 	public interface Handler {
// 		void onAction(ActionEvent event);
// 	}
// 
// 	private static final Type<ActionEvent.Handler> TYPE = new Type<ActionEvent.Handler>();
// 
// 	public static void fire(EventBus eventBus, String sourceName) {
// 		eventBus.fireEventFromSource(new ActionEvent(), sourceName);
// 	}
// 
// 	public static HandlerRegistration register(EventBus eventBus,
// 			String sourceName, Handler handler) {
// 		
// 		return eventBus.addHandlerToSource(TYPE, sourceName, handler);
// 	}
// 
// 	@Override
// 	public Type<Handler> getAssociatedType() {
// 		return TYPE;
// 	}
// 
// 	@Override
// 	protected void dispatch(ActionEvent.Handler handler) {
// 		handler.onAction(this);
// 	}
// 
// 	protected ActionEvent() {
// 	}
// 	
// }
// 
// Path: archetypes/mgwt-basic-swipemenu/src/main/java/gov/wa/wsdot/apps/mgwt/client/event/ActionNames.java
// public interface ActionNames {
// 	public static final String BACK = "back";
// 	public static final String ANIMATION_END = "ae";
// }


// Path: archetypes/mgwt-basic-swipemenu/src/main/java/gov/wa/wsdot/apps/mgwt/client/activities/about/AboutActivity.java
import gov.wa.wsdot.apps.mgwt.client.ClientFactory;
import gov.wa.wsdot.apps.mgwt.client.event.ActionEvent;
import gov.wa.wsdot.apps.mgwt.client.event.ActionNames;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.googlecode.mgwt.mvp.client.MGWTAbstractActivity;

package gov.wa.wsdot.apps.mgwt.client.activities.about;



public class AboutActivity extends MGWTAbstractActivity implements
		AboutView.Presenter {

	private final ClientFactory clientFactory;
	private AboutView view;
	private EventBus eventBus;

	public AboutActivity(ClientFactory clientFactory) {
		this.clientFactory = clientFactory;
	}

	@Override
	public void start(AcceptsOneWidget panel, final EventBus eventBus) {
		view = clientFactory.getAboutView();
		this.eventBus = eventBus;
		view.setPresenter(this);

		panel.setWidget(view);

	}

	@Override
	public void onStop() {
		view.setPresenter(null);
	}
	
	@Override