litesoft
@ 547
litesoft / trunk / GWT_Sandbox / MultiModule / main / src / org / litesoft / sandbox / multimodule / main / client / Main.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 |
package org.litesoft.sandbox.multimodule.main.client; import org.litesoft.sandbox.infrastructure.client.*; import org.litesoft.sandbox.multimodule.foundation.client.*; import com.google.gwt.core.client.*; import com.google.gwt.user.client.ui.*; /** * Entry point classes define <code>onModuleLoad()</code> */ public class Main implements EntryPoint { @Override public void onModuleLoad() { System.out.println( "Main.onModuleLoad" ); OurLabel zMessageUserSinkLabel = new OurLabel(); SimplePanel zAppWidget = new SimplePanel(); RootPanel.get( "CenteredContent" ).add( zAppWidget ); RootPanel.get( "Message" ).add( zMessageUserSinkLabel ); ClientFactoryImpl clientFactory = new ClientFactoryImpl(); // GWT.create( ClientFactory.class ); PlaceActivityManager pam = new PlaceActivityManager<ClientFactory>( zAppWidget, clientFactory ); clientFactory.setPlaceChanger( pam ); clientFactory.setMessageUserSink( new StyledSafeTextMessageUserSink( zMessageUserSinkLabel ) ); // Goes to the place represented on URL else default place pam.handleCurrentHistory(); } } |
Commits for litesoft/trunk/GWT_Sandbox/MultiModule/main/src/org/litesoft/sandbox/multimodule/main/client/Main.java
Revision | Author | Commited | Message |
---|---|---|---|
547 Diff | GeorgeS | Mon 10 Oct, 2011 02:22:01 +0000 | |
543 Diff | GeorgeS | Fri 07 Oct, 2011 12:27:03 +0000 | |
540 Diff | GeorgeS | Mon 03 Oct, 2011 04:22:28 +0000 | |
538 Diff | GeorgeS | Sun 02 Oct, 2011 22:14:59 +0000 | |
521 Diff | GeorgeS | Tue 27 Sep, 2011 18:24:12 +0000 | Upload Widget... |
517 Diff | GeorgeS | Mon 26 Sep, 2011 22:36:28 +0000 | |
514 Diff | GeorgeS | Thu 22 Sep, 2011 06:07:01 +0000 | |
512 Diff | GeorgeS | Mon 19 Sep, 2011 03:27:18 +0000 | |
506 Diff | GeorgeS | Thu 15 Sep, 2011 13:50:15 +0000 | MultiModules |
503 | GeorgeS | Mon 12 Sep, 2011 05:29:58 +0000 |