Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 397 Rev 405
Line 10... Line 10...
10
import com.google.gwt.core.client.EntryPoint;
10
import com.google.gwt.core.client.EntryPoint;
11
import com.google.gwt.core.client.GWT;
11
import com.google.gwt.core.client.GWT;
Line 12... Line 12...
12
 
12
 
Line 13... Line 13...
13
public class Coel implements EntryPoint {
13
public class Coel implements EntryPoint {
-
 
14
 
14
 
15
	private AppliConstantes i18nC = null;
15
	public AppliConstantes i18nC;
16
	private Mediateur mediateur = null;
16
 
17
	
Line 17... Line 18...
17
	public void onModuleLoad() {
18
	public void onModuleLoad() {
Line 18... Line 19...
18
		GXT.hideLoadingPanel("loading");
19
		GXT.hideLoadingPanel("loading");
Line 19... Line 20...
19
				
20
				
Line 20... Line 21...
20
		i18nC = GWT.create(AppliConstantes.class);
21
		i18nC = getI18nConstante();
21
		
22
		
22
		initialiserRegistre();
23
		initialiserRegistre();
Line 23... Line 24...
23
		
24
		
24
		Mediateur mediateur = new Mediateur();
25
		mediateur = getMediateur();
25
		
26
		
26
		// J'appelle directement la page où je travaille
27
		// J'appelle directement la page où je travaille
27
		mediateur.clicMenu(MenuApplicationId.STRUCTURE);
28
		mediateur.clicMenu(MenuApplicationId.STRUCTURE);
28
	}
29
	}
29
	
30
	
30
	protected void initialiserRegistre() {
31
	protected void initialiserRegistre() {
-
 
32
		Registry.register(RegistreId.APPLI_NOM, i18nC.appliNom());
-
 
33
		Registry.register(RegistreId.APPLI_CODE, i18nC.appliCode());
-
 
34
		Registry.register(RegistreId.APPLI_VERSION, i18nC.appliVersion());
-
 
35
		Registry.register(RegistreId.APPLI_REVISION, "$Revision: 405 $");
-
 
36
		Registry.register(RegistreId.CONFIG, new Configuration());
-
 
37
		Registry.register(RegistreId.POPUP_CHARGEMENT, new PopupChargement());
-
 
38
	}
-
 
39
	
Line 31... Line 40...
31
		Registry.register(RegistreId.APPLI_NOM, i18nC.appliNom());
40
	protected Mediateur getMediateur() {
32
		Registry.register(RegistreId.APPLI_CODE, i18nC.appliCode());
41
		return new Mediateur();