Subversion Repositories eFlore/Applications.coel

Rev

Rev 1428 | Rev 1780 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1428 Rev 1509
1
package org.tela_botanica.client;
1
package org.tela_botanica.client;
2
 
-
 
3
import org.tela_botanica.client.modeles.MenuApplicationId;
-
 
4
 
2
 
5
import com.extjs.gxt.ui.client.GXT;
3
import com.extjs.gxt.ui.client.GXT;
6
import com.google.gwt.core.client.EntryPoint;
4
import com.google.gwt.core.client.EntryPoint;
7
 
5
 
8
public class Coel implements EntryPoint {
6
public class Coel implements EntryPoint {
9
 
-
 
10
	private Mediateur mediateur = null;
-
 
11
	
7
 
-
 
8
	public void onModuleLoad() {
12
	public void onModuleLoad() {
9
		// Fermeture du panneau de chargement de l'appli
-
 
10
		GXT.hideLoadingPanel("loading");
-
 
11
		
-
 
12
		// Création du médiateur
-
 
13
		new Mediateur();
13
		GXT.hideLoadingPanel("loading");
14
		
14
		
15
		// Si activation du mode débug
15
		if (Mediateur.DEBUG) {
16
		if (Mediateur.DEBUG) {
16
			System.out.println("");
17
			System.out.println("");
17
			System.out.println("-------------------------------------------------------------------");
18
			System.out.println("-------------------------------------------------------------------");
18
			System.out.println("");
19
			System.out.println("");
19
		}
20
		}
20
		
-
 
21
		mediateur = getMediateur();
-
 
22
		
-
 
23
		// J'appelle directement la page où je travaille
-
 
24
		mediateur.clicMenu(MenuApplicationId.ACCUEIL);
-
 
25
	}
-
 
26
	
-
 
27
	protected Mediateur getMediateur() {
21
		
28
		return new Mediateur();
22
		
29
	}
23
	}
30
}
24
}