Subversion Repositories eFlore/Applications.coel

Rev

Rev 45 | Rev 60 | 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
 
51 jpm 3
import org.tela_botanica.client.controleurs.AppControleur;
4
import org.tela_botanica.client.controleurs.InstitutionControleur;
5
 
6
import com.extjs.gxt.ui.client.GXT;
7
import com.extjs.gxt.ui.client.Registry;
8
import com.extjs.gxt.ui.client.mvc.Dispatcher;
9
import com.extjs.gxt.ui.client.util.Theme;
10 jpm 10
import com.google.gwt.core.client.EntryPoint;
11
 
51 jpm 12
 /**
10 jpm 13
 * Entry point classes define <code>onModuleLoad()</code>.
14
 */
15
public class Coel implements EntryPoint {
51 jpm 16
 
17
	public static final String APPLI_NOM = "Application Nom";
18
 
19
	public void onModuleLoad() {
20
		GXT.setDefaultTheme(Theme.GRAY, true);
21
		GXT.hideLoadingPanel("loading");
22
 
23
		Registry.register(APPLI_NOM, "Coel");
24
 
25
	    Dispatcher dispatcher = Dispatcher.get();
26
	    dispatcher.addController(new AppControleur());
27
	    //dispatcher.addController(new RechercheControleur());
28
	    dispatcher.addController(new InstitutionControleur());
29
	    //dispatcher.addController(new CollectionControleur());
30
	    //dispatcher.addController(new PersonneControleur());
31
	    //dispatcher.addController(new PublicationControleur());
32
 
33
	    dispatcher.dispatch(AppEvenements.Login);
34
 
35
	}
36
 
37
}