litesoft
@ 948
litesoft / trunk / GWT_Sandbox / MultiModule / main / src / org / litesoft / sandbox / multimodule / main / client / home / HomeActivity.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
package org.litesoft.sandbox.multimodule.main.client.home; import org.litesoft.sandbox.infrastructure.client.*; import org.litesoft.sandbox.multimodule.foundation.client.*; import org.litesoft.sandbox.multimodule.foundation.client.places.*; import com.google.gwt.place.shared.*; import com.google.gwt.user.client.ui.*; public class HomeActivity extends AbstractActivity implements HomeView.Presenter { private ClientFactory mClientFactory; private HomeView mView; @SuppressWarnings({"UnusedParameters"}) public HomeActivity( ClientFactory pClientFactory, HomeView pView, HomePlace pPlace ) // pPlace not currently being used, but kept for API consistency { mClientFactory = pClientFactory; mView = pView; } @Override public void start( AcceptsOneWidget pPanel ) { mView.setPresenter( this ); pPanel.setWidget( mView.asWidget() ); } @Override public void goTo( Place place ) { mClientFactory.goTo( place ); } } |