Subversion Repositories eFlore/Applications.coel

Rev

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

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