Subversion Repositories eFlore/Applications.cel

Rev

Rev 326 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 326 Rev 343
Line 16... Line 16...
16
	 * This is the entry point method.
16
	 * This is the entry point method.
17
	 */
17
	 */
18
	public void onModuleLoad() {
18
	public void onModuleLoad() {
Line 19... Line 19...
19
		
19
		
20
		
20
		
21
			 CarnetEnLigneMediateur carnetEnLigneMediateur= CarnetEnLigneMediateur.Instance();
21
			CarnetEnLigneMediateur carnetEnLigneMediateur= CarnetEnLigneMediateur.Instance();
22
		  			 
22
			
23
			 if (GWT.isScript()) { 
23
			if(GWT.isScript()) {
24
				 new Viewport(carnetEnLigneMediateur.getPanneauPrincipalCarnetEnLigne()) ;
-
 
25
			 } 
24
				new Viewport(carnetEnLigneMediateur.getPanneauPrincipalCarnetEnLigne()) ;
26
			 else { // Mode hosted
25
			} else {
27
				RootPanel.get().add(carnetEnLigneMediateur.getPanneauPrincipalCarnetEnLigne());
26
				RootPanel.get().add(carnetEnLigneMediateur.getPanneauPrincipalCarnetEnLigne());
28
			 }
27
			}
29
			 
-
 
30
			 carnetEnLigneMediateur.getEtatUtilisateur() ;
28
			
31
			 
29
			carnetEnLigneMediateur.getEtatUtilisateur() ;
32
			 
30
 
33
			 Timer t = new Timer() {
31
			Timer t = new Timer() {
34
				public void run() {
32
				public void run() {
35
					 Ext.get("loading").hide();
33
					 Ext.get("loading").hide();
36
				}
34
				}
37
			 };
35
			};
Line 38... Line 36...
38
			 
36
			
39
			 t.schedule(3000);
37
			t.schedule(3000);