|
@@ -1,7 +1,6 @@ |
1 |
1 |
|
package org.litesoft.sandbox.multimodule.client.module.groupfront; |
2 |
2 |
|
|
3 |
3 |
|
import org.litesoft.GWT.client.pavsupport.*; |
4 |
|
- |
import org.litesoft.core.util.externalization.*; |
5 |
4 |
|
import org.litesoft.sandbox.multimodule.client.foundation.places.*; |
6 |
5 |
|
import org.litesoft.sandbox.multimodule.client.foundation.support.*; |
7 |
6 |
|
import org.litesoft.sandbox.multimodule.client.module.groupfront.front.*; |
|
@@ -20,7 +19,7 @@ |
20 |
19 |
|
{ |
21 |
20 |
|
System.out.println( "GroupFront.onModuleLoad" ); |
22 |
21 |
|
|
23 |
|
- |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, FrontView, PlaceFront>( DefaultResolver.INSTANCE, EnumPlaces.Front ) |
|
22 |
+ |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, FrontView, PlaceFront>( EnumPlaces.Front ) |
24 |
23 |
|
{ |
25 |
24 |
|
@Override |
26 |
25 |
|
public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, FrontView, PlaceFront> pCallback ) |
|
@@ -30,12 +29,12 @@ |
30 |
29 |
|
@Override |
31 |
30 |
|
public void onSuccess() |
32 |
31 |
|
{ |
33 |
|
- |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, FrontView, PlaceFront>( getResolver(), getPlaceId() ) |
|
32 |
+ |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, FrontView, PlaceFront>( getPlaceId() ) |
34 |
33 |
|
{ |
35 |
34 |
|
@Override |
36 |
35 |
|
public FrontView createView() |
37 |
36 |
|
{ |
38 |
|
- |
return new FrontViewImpl( DieExternalizer.getInstance() ); |
|
37 |
+ |
return new FrontViewImpl(); |
39 |
38 |
|
} |
40 |
39 |
|
|
41 |
40 |
|
@Override |
|
@@ -49,7 +48,7 @@ |
49 |
48 |
|
} |
50 |
49 |
|
} ); |
51 |
50 |
|
|
52 |
|
- |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, LeftView, PlaceLeft>( DefaultResolver.INSTANCE, EnumPlaces.Left ) |
|
51 |
+ |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, LeftView, PlaceLeft>( EnumPlaces.Left ) |
53 |
52 |
|
{ |
54 |
53 |
|
@Override |
55 |
54 |
|
public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, LeftView, PlaceLeft> pCallback ) |
|
@@ -59,12 +58,12 @@ |
59 |
58 |
|
@Override |
60 |
59 |
|
public void onSuccess() |
61 |
60 |
|
{ |
62 |
|
- |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, LeftView, PlaceLeft>( getResolver(), getPlaceId() ) |
|
61 |
+ |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, LeftView, PlaceLeft>( getPlaceId() ) |
63 |
62 |
|
{ |
64 |
63 |
|
@Override |
65 |
64 |
|
public LeftView createView() |
66 |
65 |
|
{ |
67 |
|
- |
return new LeftViewImpl( DieExternalizer.getInstance() ); |
|
66 |
+ |
return new LeftViewImpl(); |
68 |
67 |
|
} |
69 |
68 |
|
|
70 |
69 |
|
@Override |
|
@@ -78,7 +77,7 @@ |
78 |
77 |
|
} |
79 |
78 |
|
} ); |
80 |
79 |
|
|
81 |
|
- |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, RightView, PlaceRight>( DefaultResolver.INSTANCE, EnumPlaces.Right ) |
|
80 |
+ |
ActivityFactoryRegistry.register( new AbstractAsyncActivityFactory<ClientFactory, RightView, PlaceRight>( EnumPlaces.Right ) |
82 |
81 |
|
{ |
83 |
82 |
|
@Override |
84 |
83 |
|
public void load( ClientFactory pCommonActivityParam, final Callback<ClientFactory, RightView, PlaceRight> pCallback ) |
|
@@ -88,12 +87,12 @@ |
88 |
87 |
|
@Override |
89 |
88 |
|
public void onSuccess() |
90 |
89 |
|
{ |
91 |
|
- |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, RightView, PlaceRight>( getResolver(), getPlaceId() ) |
|
90 |
+ |
pCallback.loaded( new CachedViewSynchronousActivityFactory<ClientFactory, RightView, PlaceRight>( getPlaceId() ) |
92 |
91 |
|
{ |
93 |
92 |
|
@Override |
94 |
93 |
|
public RightView createView() |
95 |
94 |
|
{ |
96 |
|
- |
return new RightViewImpl( DieExternalizer.getInstance() ); |
|
95 |
+ |
return new RightViewImpl(); |
97 |
96 |
|
} |
98 |
97 |
|
|
99 |
98 |
|
@Override |