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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package org.litesoft.sandbox.multimodule.groupback.client;

import org.litesoft.sandbox.infrastructure.client.*;
import org.litesoft.sandbox.multimodule.foundation.client.*;
import org.litesoft.sandbox.multimodule.foundation.client.places.*;
import org.litesoft.sandbox.multimodule.groupback.client.back.*;
import org.litesoft.sandbox.multimodule.groupback.client.bottom.*;
import org.litesoft.sandbox.multimodule.groupback.client.top.*;

import com.google.gwt.activity.shared.*;
import com.google.gwt.core.client.*;

/**
 * Entry point classes define <code>onModuleLoad()</code>
 */
public class GroupBack implements EntryPoint
{
    @Override
    public void onModuleLoad()
    {
        System.out.println( "GroupBack.onModuleLoad" );

        ActivityFactoryRegistry.register( new ActivityFactory.Synchronous<ClientFactory, BackView, BackPlace>()
        {
            @Override
            public BackView getView()
            {
                return new BackViewImpl();
            }

            @Override
            public Activity createActivity( ClientFactory pClientFactory, BackView pView, BackPlace pPlace )
            {
                return new BackActivity( pClientFactory, pView, pPlace );
            }

            @Override
            public String getPlaceId()
            {
                return Places.Back.name();
            }
        } );

        ActivityFactoryRegistry.register( new ActivityFactory.Synchronous<ClientFactory, BottomView, BottomPlace>()
        {
            @Override
            public BottomView getView()
            {
                return new BottomViewImpl();
            }

            @Override
            public Activity createActivity( ClientFactory pClientFactory, BottomView pView, BottomPlace pPlace )
            {
                return new BottomActivity( pClientFactory, pView, pPlace );
            }

            @Override
            public String getPlaceId()
            {
                return Places.Bottom.name();
            }
        } );

        ActivityFactoryRegistry.register( new ActivityFactory.Synchronous<ClientFactory, TopView, TopPlace>()
        {
            @Override
            public TopView getView()
            {
                return new TopViewImpl();
            }

            @Override
            public Activity createActivity( ClientFactory pClientFactory, TopView pView, TopPlace pPlace )
            {
                return new TopActivity( pClientFactory, pView, pPlace );
            }

            @Override
            public String getPlaceId()
            {
                return Places.Top.name();
            }
        } );
    }
}

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/groupBack/src/org/litesoft/sandbox/multimodule/groupback/client/GroupBack.java

Diff revisions: vs.
Revision Author Commited Message
540 Diff Diff GeorgeS picture GeorgeS Mon 03 Oct, 2011 04:22:28 +0000
512 Diff Diff GeorgeS picture GeorgeS Mon 19 Sep, 2011 03:27:18 +0000
503 GeorgeS picture GeorgeS Mon 12 Sep, 2011 05:29:58 +0000