Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 344 Rev 395
Line 13... Line 13...
13
/**
13
/**
14
 * Entry point classes define <code>onModuleLoad()</code>.
14
 * Entry point classes define <code>onModuleLoad()</code>.
15
 */
15
 */
16
public class Coel implements EntryPoint {
16
public class Coel implements EntryPoint {
Line 17... Line 17...
17
 
17
 
18
	private Constantes constantes;
-
 
Line 19... Line -...
19
	private PopupChargement popupChargement;
-
 
20
 
-
 
21
	/**
-
 
22
	 * This is the entry point method.
18
	public Constantes i18nC;
23
	 */
-
 
24
	public void onModuleLoad() {
19
 
25
		
-
 
26
		GXT.hideLoadingPanel("loading");
-
 
27
		popupChargement = new PopupChargement();
20
	public void onModuleLoad() {
-
 
21
		GXT.hideLoadingPanel("loading");
Line 28... Line -...
28
		Registry.register(RegistreId.POPUP_CHARGEMENT, popupChargement);
-
 
29
		
-
 
30
		
-
 
31
		constantes = GWT.create(Constantes.class);
22
				
32
		
-
 
33
		Registry.register(RegistreId.APPLI_NOM, constantes.appliNom());
-
 
34
		Registry.register(RegistreId.APPLI_CODE, "COEL");
-
 
Line 35... Line 23...
35
		Registry.register(RegistreId.APPLI_VERSION, "0.1");
23
		i18nC = GWT.create(Constantes.class);
-
 
24
		
36
		Registry.register(RegistreId.APPLI_REVISION, "$Revision: 344 $");
25
		initialiserRegistre();
37
		Registry.register(RegistreId.CONFIG, new Configuration());
26
		
38
		
27
		new Mediateur();
39
		new Mediateur();
28
		
-
 
29
		// J'appelle directement la page où je travaille
-
 
30
		Mediateur mediat = Registry.get(RegistreId.MEDIATEUR);
-
 
31
		mediat.clicMenu(MenuApplicationId.STRUCTURE);
-
 
32
	}
-
 
33
	
-
 
34
	protected void initialiserRegistre() {
-
 
35
		Registry.register(RegistreId.APPLI_NOM, i18nC.appliNom());
-
 
36
		Registry.register(RegistreId.APPLI_CODE, i18nC.appliCode());
-
 
37
		Registry.register(RegistreId.APPLI_VERSION, i18nC.appliVersion());
Line 40... Line 38...
40
		// J'appelle directement la page où je travaille
38
		Registry.register(RegistreId.APPLI_REVISION, "$Revision: 395 $");
41
		Mediateur mediat = Registry.get(RegistreId.MEDIATEUR);
39
		Registry.register(RegistreId.CONFIG, new Configuration());