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.groupfront.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.groupfront.client.front.*;
import org.litesoft.sandbox.multimodule.groupfront.client.left.*;
import org.litesoft.sandbox.multimodule.groupfront.client.right.*;

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

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

        ActivityFactoryRegistry.register( new ActivityFactory.Synchronous<ClientFactory, FrontView, FrontPlace>()
        {
            @Override
            public FrontView getView()
            {
                return new FrontViewImpl();
            }

            @Override
            public Activity createActivity( ClientFactory pClientFactory, FrontView pView, FrontPlace pPlace )
            {
                return new FrontActivity( pClientFactory, pView, pPlace );
            }

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

        ActivityFactoryRegistry.register( new ActivityFactory.Synchronous<ClientFactory, LeftView, LeftPlace>()
        {
            @Override
            public LeftView getView()
            {
                return new LeftViewImpl();
            }

            @Override
            public Activity createActivity( ClientFactory pClientFactory, LeftView pView, LeftPlace pPlace )
            {
                return new LeftActivity( pClientFactory, pView, pPlace );
            }

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

        ActivityFactoryRegistry.register( new ActivityFactory.Synchronous<ClientFactory, RightView, RightPlace>()
        {
            @Override
            public RightView getView()
            {
                return new RightViewImpl();
            }

            @Override
            public Activity createActivity( ClientFactory pClientFactory, RightView pView, RightPlace pPlace )
            {
                return new RightActivity( pClientFactory, pView, pPlace );
            }

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

Commits for litesoft/trunk/GWT_Sandbox/MultiModule/groupFront/src/org/litesoft/sandbox/multimodule/groupfront/client/GroupFront.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