Subversion Repositories eFlore/Applications.coel

Rev

Rev 102 | Rev 156 | 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;
51 jpm 5
 
6
import com.extjs.gxt.ui.client.GXT;
7
import com.extjs.gxt.ui.client.Registry;
8
import com.extjs.gxt.ui.client.util.Theme;
10 jpm 9
import com.google.gwt.core.client.EntryPoint;
116 jpm 10
import com.google.gwt.core.client.GWT;
10 jpm 11
 
60 jpm 12
/**
10 jpm 13
 * Entry point classes define <code>onModuleLoad()</code>.
14
 */
15
public class Coel implements EntryPoint {
116 jpm 16
 
17
	private Constantes constantes;
18
	//private Messages messages;
19
 
60 jpm 20
	/**
21
	 * This is the entry point method.
22
	 */
23
	public void onModuleLoad() {
116 jpm 24
		constantes = GWT.create(Constantes.class);
25
		//messages = GWT.create(StockWatcherMessages.class);
26
 
51 jpm 27
		GXT.setDefaultTheme(Theme.GRAY, true);
28
		GXT.hideLoadingPanel("loading");
29
 
116 jpm 30
		Registry.register(RegistreId.APPLI_NOM, constantes.appliNom());
64 jpm 31
		Registry.register(RegistreId.APPLI_CODE, "COEL");
32
		Registry.register(RegistreId.APPLI_VERSION, "0.1");
33
		Registry.register(RegistreId.APPLI_REVISION, "$Revision: 116 $");
60 jpm 34
		Registry.register(RegistreId.CONFIG, new Configuration());
66 jpm 35
 
60 jpm 36
		new Mediateur();
102 jpm 37
		// J'appelle directement la page où je travaille
38
		Mediateur mediat = Registry.get(RegistreId.MEDIATEUR);
39
		mediat.clicAjouterStructure();
60 jpm 40
	}
51 jpm 41
}