Subversion Repositories eFlore/Applications.coel

Rev

Rev 268 | Rev 344 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10 jpm 1
package org.tela_botanica.client;
2
 
116 jpm 3
import org.tela_botanica.client.i18n.Constantes;
60 jpm 4
import org.tela_botanica.client.modeles.Configuration;
336 gduche 5
import org.tela_botanica.client.util.UtilArray;
6
import org.tela_botanica.client.vues.PopupChargement;
51 jpm 7
 
8
import com.extjs.gxt.ui.client.GXT;
9
import com.extjs.gxt.ui.client.Registry;
10 jpm 10
import com.google.gwt.core.client.EntryPoint;
116 jpm 11
import com.google.gwt.core.client.GWT;
336 gduche 12
import com.google.gwt.i18n.client.LocaleInfo;
13
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
14
import com.google.gwt.user.client.Window;
10 jpm 15
 
60 jpm 16
/**
10 jpm 17
 * Entry point classes define <code>onModuleLoad()</code>.
18
 */
19
public class Coel implements EntryPoint {
116 jpm 20
 
21
	private Constantes constantes;
336 gduche 22
	private PopupChargement popupChargement;
116 jpm 23
 
60 jpm 24
	/**
25
	 * This is the entry point method.
26
	 */
336 gduche 27
 
28
		public void onModuleLoad() {
29
 
51 jpm 30
		GXT.hideLoadingPanel("loading");
336 gduche 31
		popupChargement = new PopupChargement();
32
		Registry.register(RegistreId.POPUP_CHARGEMENT, popupChargement);
51 jpm 33
 
336 gduche 34
 
35
		constantes = GWT.create(Constantes.class);
36
 
116 jpm 37
		Registry.register(RegistreId.APPLI_NOM, constantes.appliNom());
64 jpm 38
		Registry.register(RegistreId.APPLI_CODE, "COEL");
39
		Registry.register(RegistreId.APPLI_VERSION, "0.1");
40
		Registry.register(RegistreId.APPLI_REVISION, "$Revision: 336 $");
60 jpm 41
		Registry.register(RegistreId.CONFIG, new Configuration());
336 gduche 42
 
60 jpm 43
		new Mediateur();
102 jpm 44
		// J'appelle directement la page où je travaille
45
		Mediateur mediat = Registry.get(RegistreId.MEDIATEUR);
336 gduche 46
		mediat.clicMenu("Personnes");
47
		}
48
 
49
}
50
 
51