litesoft
Diff Revisions
540
vs
543
for /trunk/GWT_Sandbox/MultiModule/groupBack/src/org/litesoft/sandbox/multimodule/groupback/client/bottom/BottomActivity.java
|
@@ -1,26 +1,26 @@ |
1 |
1 |
|
package org.litesoft.sandbox.multimodule.groupback.client.bottom; |
2 |
2 |
|
|
|
3 |
+ |
import org.litesoft.sandbox.anywhere.die.*; |
|
4 |
+ |
import org.litesoft.sandbox.infrastructure.client.*; |
3 |
5 |
|
import org.litesoft.sandbox.multimodule.foundation.client.*; |
4 |
6 |
|
import org.litesoft.sandbox.multimodule.foundation.client.places.*; |
5 |
7 |
|
|
6 |
|
- |
import com.google.gwt.activity.shared.*; |
7 |
|
- |
import com.google.gwt.event.shared.*; |
8 |
8 |
|
import com.google.gwt.place.shared.*; |
9 |
9 |
|
import com.google.gwt.user.client.ui.*; |
10 |
|
- |
import org.litesoft.sandbox.anywhere.die.*; |
11 |
10 |
|
|
12 |
11 |
|
public class BottomActivity extends AbstractActivity implements BottomView.Presenter |
13 |
12 |
|
{ |
14 |
13 |
|
private ClientFactory mClientFactory; |
15 |
14 |
|
private BottomView mView; |
16 |
15 |
|
|
17 |
|
- |
public BottomActivity( ClientFactory pClientFactory, BottomView pView, BottomPlace pPlace ) { |
|
16 |
+ |
public BottomActivity( ClientFactory pClientFactory, BottomView pView, BottomPlace pPlace ) |
|
17 |
+ |
{ |
18 |
18 |
|
mClientFactory = pClientFactory; |
19 |
19 |
|
(mView = pView).setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null ); |
20 |
20 |
|
} |
21 |
21 |
|
|
22 |
22 |
|
@Override |
23 |
|
- |
public void start( AcceptsOneWidget pPanel, EventBus pEventBus ) |
|
23 |
+ |
public void start( AcceptsOneWidget pPanel ) |
24 |
24 |
|
{ |
25 |
25 |
|
mClientFactory.adjustDieFor( Places.Bottom ); |
26 |
26 |
|
mView.setPresenter( this ); |
|
@@ -28,18 +28,6 @@ |
28 |
28 |
|
} |
29 |
29 |
|
|
30 |
30 |
|
@Override |
31 |
|
- |
public void onCancel() |
32 |
|
- |
{ |
33 |
|
- |
super.onCancel(); //To change body of overridden methods use File | Settings | File Templates. |
34 |
|
- |
} |
35 |
|
- |
|
36 |
|
- |
@Override |
37 |
|
- |
public void onStop() |
38 |
|
- |
{ |
39 |
|
- |
super.onStop(); //To change body of overridden methods use File | Settings | File Templates. |
40 |
|
- |
} |
41 |
|
- |
|
42 |
|
- |
@Override |
43 |
31 |
|
public void goTo( Place place ) |
44 |
32 |
|
{ |
45 |
33 |
|
mClientFactory.goTo( place ); |