Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/GWT_Sandbox/MultiModule/groupFront/src/org/litesoft/sandbox/multimodule/groupfront/client/right/RightActivity.java

Diff revisions: vs.
  @@ -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 RightActivity extends AbstractActivity implements RightView.Presenter
12 - {
11 + public class RightActivity extends AbstractActivity implements RightView.Presenter {
13 12 private ClientFactory mClientFactory;
14 13 private RightView mView;
15 14
16 - public RightActivity( ClientFactory pClientFactory, RightView pView, RightPlace pPlace )
17 - {
15 + public RightActivity( ClientFactory pClientFactory, RightView pView, RightPlace 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.Right );
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 }