litesoft
@ 749
litesoft / trunk / GWT_Sandbox / MultiModuleSingleSrc / main / src / org / litesoft / sandbox / multimodule / client / module / groupfront / right / RightActivity.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 |
package org.litesoft.sandbox.multimodule.client.module.groupfront.right; import org.litesoft.GWT.client.pavsupport.*; import org.litesoft.sandbox.multimodule.anywhere.die.*; import org.litesoft.sandbox.multimodule.client.foundation.places.*; import org.litesoft.sandbox.multimodule.client.foundation.support.*; public class RightActivity extends AbstractActivity<RightView> implements RightView.Presenter { private ClientFactory mClientFactory; public RightActivity( ClientFactory pClientFactory, RightView pView, PlaceRight pPlace ) { super( pView, pClientFactory ); mClientFactory = pClientFactory; pView.setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null ); } @Override protected void start() { mClientFactory.adjustDieFor( EnumPlaces.Right ); } @Override public Die getDie() { return mClientFactory.getDie(); } } |