Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/GWT_Sandbox/MultiModuleSingleSrc/main/src/org/litesoft/sandbox/multimodule/client/module/groupback/back/BackActivity.java

Diff revisions: vs.
  @@ -1,26 +1,26 @@
1 - package org.litesoft.sandbox.multimodule.client.module.groupback.back;
2 -
3 - import org.litesoft.GWT.client.pavsupport.*;
4 - import org.litesoft.sandbox.multimodule.anywhere.die.*;
5 - import org.litesoft.sandbox.multimodule.client.foundation.places.*;
6 - import org.litesoft.sandbox.multimodule.client.foundation.support.*;
7 -
8 - public class BackActivity extends AbstractActivity<BackView> implements BackView.Presenter {
9 - private ClientFactory mClientFactory;
10 -
11 - public BackActivity( ClientFactory pClientFactory, BackView pView, PlaceBack pPlace ) {
12 - super( pView, pClientFactory );
13 - mClientFactory = pClientFactory;
14 - pView.setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null );
15 - }
16 -
17 - @Override
18 - protected void start() {
19 - mClientFactory.adjustDieFor( EnumPlaces.Back );
20 - }
21 -
22 - @Override
23 - public Die getDie() {
24 - return mClientFactory.getDie();
25 - }
26 - }
1 + package org.litesoft.sandbox.multimodule.client.module.groupback.back;
2 +
3 + import org.litesoft.GWT.client.pavsupport.*;
4 + import org.litesoft.sandbox.multimodule.anywhere.die.*;
5 + import org.litesoft.sandbox.multimodule.client.foundation.places.*;
6 + import org.litesoft.sandbox.multimodule.client.foundation.support.*;
7 +
8 + public class BackActivity extends AbstractActivity<BackView> implements BackView.Presenter {
9 + private ClientFactory mClientFactory;
10 +
11 + public BackActivity( ClientFactory pClientFactory, BackView pView, PlaceBack pPlace ) {
12 + super( pView, pClientFactory );
13 + mClientFactory = pClientFactory;
14 + pView.setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null );
15 + }
16 +
17 + @Override
18 + protected void start() {
19 + mClientFactory.adjustDieFor( EnumPlaces.Back );
20 + }
21 +
22 + @Override
23 + public Die getDie() {
24 + return mClientFactory.getDie();
25 + }
26 + }