Subversion Repositories eFlore/Applications.coel

Rev

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

package org.tela_botanica.client;

import org.tela_botanica.client.i18n.Constantes;
import org.tela_botanica.client.modeles.Configuration;
import org.tela_botanica.client.util.UtilArray;
import org.tela_botanica.client.vues.PopupChargement;

import com.extjs.gxt.ui.client.GXT;
import com.extjs.gxt.ui.client.Registry;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.i18n.client.LocaleInfo;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
import com.google.gwt.user.client.Window;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Coel implements EntryPoint {

        private Constantes constantes;
        private PopupChargement popupChargement;

        /**
         * This is the entry point method.
         */
        
                public void onModuleLoad() {
                
                GXT.hideLoadingPanel("loading");
                popupChargement = new PopupChargement();
                Registry.register(RegistreId.POPUP_CHARGEMENT, popupChargement);
                
                
                constantes = GWT.create(Constantes.class);
                
                Registry.register(RegistreId.APPLI_NOM, constantes.appliNom());
                Registry.register(RegistreId.APPLI_CODE, "COEL");
                Registry.register(RegistreId.APPLI_VERSION, "0.1");
                Registry.register(RegistreId.APPLI_REVISION, "$Revision: 336 $");
                Registry.register(RegistreId.CONFIG, new Configuration());
                
                new Mediateur();
                // J'appelle directement la page où je travaille
                Mediateur mediat = Registry.get(RegistreId.MEDIATEUR);
                mediat.clicMenu("Personnes");
                }

}