litesoft
Diff Revisions
948
vs
950
for /trunk/GWT_Sandbox/MultiModuleSingleSrc/main/src/org/litesoft/sandbox/multimodule/client/module/groupfront/right/RightActivity.java
|
@@ -1,26 +1,26 @@ |
1 |
|
- |
package org.litesoft.sandbox.multimodule.client.module.groupfront.right; |
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 RightActivity extends AbstractActivity<RightView> implements RightView.Presenter { |
9 |
|
- |
private ClientFactory mClientFactory; |
10 |
|
- |
|
11 |
|
- |
public RightActivity( ClientFactory pClientFactory, RightView pView, PlaceRight 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.Right ); |
20 |
|
- |
} |
21 |
|
- |
|
22 |
|
- |
@Override |
23 |
|
- |
public Die getDie() { |
24 |
|
- |
return mClientFactory.getDie(); |
25 |
|
- |
} |
26 |
|
- |
} |
|
1 |
+ |
package org.litesoft.sandbox.multimodule.client.module.groupfront.right; |
|
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 RightActivity extends AbstractActivity<RightView> implements RightView.Presenter { |
|
9 |
+ |
private ClientFactory mClientFactory; |
|
10 |
+ |
|
|
11 |
+ |
public RightActivity( ClientFactory pClientFactory, RightView pView, PlaceRight 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.Right ); |
|
20 |
+ |
} |
|
21 |
+ |
|
|
22 |
+ |
@Override |
|
23 |
+ |
public Die getDie() { |
|
24 |
+ |
return mClientFactory.getDie(); |
|
25 |
+ |
} |
|
26 |
+ |
} |