litesoft
@ 948
litesoft / trunk / GWT_Sandbox / MultiModule / groupFront / src / org / litesoft / sandbox / multimodule / groupfront / client / GroupFront.java
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.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 AbstractAsyncActivityFactory<ClientFactory, FrontView, FrontPlace>( Places.Front ) { @Override public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, FrontView, FrontPlace> pCallback ) { GWT.runAsync( new RunAsyncSyncActivityFactoryCallBack( getPlaceId(), pCommonActivityParam ) { @Override public void onSuccess() { pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, FrontView, FrontPlace>( getPlaceId() ) { @Override public FrontView createView() { return new FrontViewImpl(); } @Override public Activity createActivity( ClientFactory pCommonActivityParam, FrontView pView, FrontPlace pPlace ) { return new FrontActivity( pCommonActivityParam, pView, pPlace ); } } ); } } ); } } ); ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, LeftView, LeftPlace>( Places.Left ) { @Override public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, LeftView, LeftPlace> pCallback ) { GWT.runAsync( new RunAsyncSyncActivityFactoryCallBack( getPlaceId(), pCommonActivityParam ) { @Override public void onSuccess() { pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, LeftView, LeftPlace>( getPlaceId() ) { @Override public LeftView createView() { return new LeftViewImpl(); } @Override public Activity createActivity( ClientFactory pCommonActivityParam, LeftView pView, LeftPlace pPlace ) { return new LeftActivity( pCommonActivityParam, pView, pPlace ); } } ); } } ); } } ); ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, RightView, RightPlace>( Places.Right ) { @Override public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, RightView, RightPlace> pCallback ) { GWT.runAsync( new RunAsyncSyncActivityFactoryCallBack( getPlaceId(), pCommonActivityParam ) { @Override public void onSuccess() { pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, RightView, RightPlace>( getPlaceId() ) { @Override public RightView createView() { return new RightViewImpl(); } @Override public Activity createActivity( ClientFactory pCommonActivityParam, RightView pView, RightPlace pPlace ) { return new RightActivity( pCommonActivityParam, pView, pPlace ); } } ); } } ); } } ); } } |
Commits for litesoft/trunk/GWT_Sandbox/MultiModule/groupFront/src/org/litesoft/sandbox/multimodule/groupfront/client/GroupFront.java
Revision | Author | Commited | Message |
---|---|---|---|
948 Diff | GeorgeS | Sat 07 Jun, 2014 23:42:39 +0000 | Jusefuls Formatter Updated to New Code Format |
585 Diff | GeorgeS | Fri 18 Nov, 2011 17:55:26 +0000 | |
551 Diff | GeorgeS | Tue 11 Oct, 2011 03:28:49 +0000 | |
548 Diff | GeorgeS | Mon 10 Oct, 2011 19:08:21 +0000 | |
543 Diff | GeorgeS | Fri 07 Oct, 2011 12:27:03 +0000 | |
540 Diff | GeorgeS | Mon 03 Oct, 2011 04:22:28 +0000 | |
512 Diff | GeorgeS | Mon 19 Sep, 2011 03:27:18 +0000 | |
503 | GeorgeS | Mon 12 Sep, 2011 05:29:58 +0000 |