litesoft
Diff Revisions
537
vs
538
for /trunk/GWT_Sandbox/MultiModule/main/src/org/litesoft/sandbox/multimodule/main/client/Main.java
|
@@ -23,12 +23,13 @@ |
23 |
23 |
|
SimplePanel zAppWidget = new SimplePanel(); |
24 |
24 |
|
|
25 |
25 |
|
RootPanel.get( "CenteredContent" ).add( zAppWidget ); |
|
26 |
+ |
RootPanel.get( "Message" ).add( zMessageUserSinkLabel ); |
26 |
27 |
|
// zCenteredContent.add( new CubeFace( null, "FrontGroup", Places.Front, Places.Top, Places.Right, Places.Left, Places.Bottom ) ); |
27 |
28 |
|
|
28 |
29 |
|
ClientFactoryImpl clientFactory = new ClientFactoryImpl(); // GWT.create( ClientFactory.class ); |
29 |
30 |
|
PlaceActivityMapper pam = new PlaceActivityMapper<ClientFactory>(clientFactory.getEventBus(), clientFactory); |
30 |
31 |
|
clientFactory.setPlaceChanger(pam); |
31 |
|
- |
clientFactory.setMessageUserSink( null ); // todo: need to have our Application Window support MessageUserSink and set it into the clientFactory |
|
32 |
+ |
clientFactory.setMessageUserSink( new StyledSafeTextMessageUserSink(zMessageUserSinkLabel) ); |
32 |
33 |
|
EventBus eventBus = clientFactory.getEventBus(); |
33 |
34 |
|
// PlaceController placeController = clientFactory.getPlaceController(); |
34 |
35 |
|
|