Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/GWT_Sandbox/MultiModule/groupFront/src/org/litesoft/sandbox/multimodule/groupfront/client/left/LeftActivity.java

Diff revisions: vs.
  @@ -1,36 +1,36 @@
1 - package org.litesoft.sandbox.multimodule.groupfront.client.left;
2 -
3 - import org.litesoft.sandbox.anywhere.die.*;
4 - import org.litesoft.sandbox.infrastructure.client.*;
5 - import org.litesoft.sandbox.multimodule.foundation.client.*;
6 - import org.litesoft.sandbox.multimodule.foundation.client.places.*;
7 -
8 - import com.google.gwt.place.shared.*;
9 - import com.google.gwt.user.client.ui.*;
10 -
11 - public class LeftActivity extends AbstractActivity implements LeftView.Presenter {
12 - private ClientFactory mClientFactory;
13 - private LeftView mView;
14 -
15 - public LeftActivity( ClientFactory pClientFactory, LeftView pView, LeftPlace pPlace ) {
16 - mClientFactory = pClientFactory;
17 - (mView = pView).setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null );
18 - }
19 -
20 - @Override
21 - public void start( AcceptsOneWidget pPanel ) {
22 - mClientFactory.adjustDieFor( Places.Left );
23 - mView.setPresenter( this );
24 - pPanel.setWidget( mView.asWidget() );
25 - }
26 -
27 - @Override
28 - public void goTo( Place place ) {
29 - mClientFactory.goTo( place );
30 - }
31 -
32 - @Override
33 - public Die getDie() {
34 - return mClientFactory.getDie();
35 - }
36 - }
1 + package org.litesoft.sandbox.multimodule.groupfront.client.left;
2 +
3 + import org.litesoft.sandbox.anywhere.die.*;
4 + import org.litesoft.sandbox.infrastructure.client.*;
5 + import org.litesoft.sandbox.multimodule.foundation.client.*;
6 + import org.litesoft.sandbox.multimodule.foundation.client.places.*;
7 +
8 + import com.google.gwt.place.shared.*;
9 + import com.google.gwt.user.client.ui.*;
10 +
11 + public class LeftActivity extends AbstractActivity implements LeftView.Presenter {
12 + private ClientFactory mClientFactory;
13 + private LeftView mView;
14 +
15 + public LeftActivity( ClientFactory pClientFactory, LeftView pView, LeftPlace pPlace ) {
16 + mClientFactory = pClientFactory;
17 + (mView = pView).setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null );
18 + }
19 +
20 + @Override
21 + public void start( AcceptsOneWidget pPanel ) {
22 + mClientFactory.adjustDieFor( Places.Left );
23 + mView.setPresenter( this );
24 + pPanel.setWidget( mView.asWidget() );
25 + }
26 +
27 + @Override
28 + public void goTo( Place place ) {
29 + mClientFactory.goTo( place );
30 + }
31 +
32 + @Override
33 + public Die getDie() {
34 + return mClientFactory.getDie();
35 + }
36 + }