litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/MultiModule/groupBack/src/org/litesoft/sandbox/multimodule/groupback/client/bottom/BottomActivity.java
|
@@ -8,34 +8,29 @@ |
8 |
8 |
|
import com.google.gwt.place.shared.*; |
9 |
9 |
|
import com.google.gwt.user.client.ui.*; |
10 |
10 |
|
|
11 |
|
- |
public class BottomActivity extends AbstractActivity implements BottomView.Presenter |
12 |
|
- |
{ |
|
11 |
+ |
public class BottomActivity extends AbstractActivity implements BottomView.Presenter { |
13 |
12 |
|
private ClientFactory mClientFactory; |
14 |
13 |
|
private BottomView mView; |
15 |
14 |
|
|
16 |
|
- |
public BottomActivity( ClientFactory pClientFactory, BottomView pView, BottomPlace pPlace ) |
17 |
|
- |
{ |
|
15 |
+ |
public BottomActivity( ClientFactory pClientFactory, BottomView pView, BottomPlace pPlace ) { |
18 |
16 |
|
mClientFactory = pClientFactory; |
19 |
17 |
|
(mView = pView).setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null ); |
20 |
18 |
|
} |
21 |
19 |
|
|
22 |
20 |
|
@Override |
23 |
|
- |
public void start( AcceptsOneWidget pPanel ) |
24 |
|
- |
{ |
|
21 |
+ |
public void start( AcceptsOneWidget pPanel ) { |
25 |
22 |
|
mClientFactory.adjustDieFor( Places.Bottom ); |
26 |
23 |
|
mView.setPresenter( this ); |
27 |
24 |
|
pPanel.setWidget( mView.asWidget() ); |
28 |
25 |
|
} |
29 |
26 |
|
|
30 |
27 |
|
@Override |
31 |
|
- |
public void goTo( Place place ) |
32 |
|
- |
{ |
|
28 |
+ |
public void goTo( Place place ) { |
33 |
29 |
|
mClientFactory.goTo( place ); |
34 |
30 |
|
} |
35 |
31 |
|
|
36 |
32 |
|
@Override |
37 |
|
- |
public Die getDie() |
38 |
|
- |
{ |
|
33 |
+ |
public Die getDie() { |
39 |
34 |
|
return mClientFactory.getDie(); |
40 |
35 |
|
} |
41 |
36 |
|
} |