Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package org.litesoft.sandbox.multimodule.groupfront.client.right;

import org.litesoft.sandbox.multimodule.foundation.client.*;
import org.litesoft.sandbox.multimodule.foundation.client.places.*;

import com.google.gwt.activity.shared.*;
import com.google.gwt.event.shared.*;
import com.google.gwt.place.shared.*;
import com.google.gwt.user.client.ui.*;
import org.litesoft.sandbox.anywhere.die.*;

public class RightActivity extends AbstractActivity implements RightView.Presenter
{
    private ClientFactory mClientFactory;
    private RightView mView;

    public RightActivity( ClientFactory pClientFactory, RightView pView, RightPlace pPlace ) {
        mClientFactory = pClientFactory;
        (mView = pView).setLuckyId( (pPlace != null) ? pPlace.getLuckyId() : null );
    }

    @Override
    public void start( AcceptsOneWidget pPanel, EventBus pEventBus )
    {
        mClientFactory.adjustDieFor( Places.Right );
        mView.setPresenter( this );
        pPanel.setWidget( mView.asWidget() );
    }

    @Override
    public void onCancel()
    {
        super.onCancel();    //To change body of overridden methods use File | Settings | File Templates.
    }

    @Override
    public void onStop()
    {
        super.onStop();    //To change body of overridden methods use File | Settings | File Templates.
    }

    @Override
    public void goTo( Place place )
    {
        mClientFactory.goTo( place );
    }

    @Override
    public Die getDie()
    {
        return mClientFactory.getDie();
    }
}

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/groupFront/src/org/litesoft/sandbox/multimodule/groupfront/client/right/RightActivity.java

Diff revisions: vs.
Revision Author Commited Message
540 Diff Diff GeorgeS picture GeorgeS Mon 03 Oct, 2011 04:22:28 +0000
514 Diff Diff GeorgeS picture GeorgeS Thu 22 Sep, 2011 06:07:01 +0000
508 Diff Diff GeorgeS picture GeorgeS Sun 18 Sep, 2011 16:39:39 +0000

More progress on Multi

507 GeorgeS picture GeorgeS Thu 15 Sep, 2011 14:00:27 +0000