litesoft
@ 948
litesoft / trunk / GWT_Sandbox / MultiModule / groupFront / src / org / litesoft / sandbox / multimodule / groupfront / client / front / FrontActivity.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 32 33 34 35 36 |
package org.litesoft.sandbox.multimodule.groupfront.client.front; import org.litesoft.sandbox.anywhere.die.*; 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 FrontActivity extends AbstractActivity implements FrontView.Presenter { private ClientFactory mClientFactory; private FrontView mView; public FrontActivity( ClientFactory pClientFactory, FrontView pView, FrontPlace pPlace ) { mClientFactory = pClientFactory; (mView = pView).setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null ); } @Override public void start( AcceptsOneWidget pPanel ) { mClientFactory.adjustDieFor( Places.Front ); mView.setPresenter( this ); pPanel.setWidget( mView.asWidget() ); } @Override public void goTo( Place place ) { mClientFactory.goTo( place ); } @Override public Die getDie() { return mClientFactory.getDie(); } } |
Commits for litesoft/trunk/GWT_Sandbox/MultiModule/groupFront/src/org/litesoft/sandbox/multimodule/groupfront/client/front/FrontActivity.java
Revision | Author | Commited | Message |
---|---|---|---|
948 Diff | GeorgeS | Sat 07 Jun, 2014 23:42:39 +0000 | Jusefuls Formatter Updated to New Code Format |
543 Diff | GeorgeS | Fri 07 Oct, 2011 12:27:03 +0000 | |
540 Diff | GeorgeS | Mon 03 Oct, 2011 04:22:28 +0000 | |
514 Diff | GeorgeS | Thu 22 Sep, 2011 06:07:01 +0000 | |
506 | GeorgeS | Thu 15 Sep, 2011 13:50:15 +0000 | MultiModules |