Rev 336 | Rev 397 | 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.modeles.MenuApplicationId;
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;
/**
* 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: 344 $");
Registry.register(RegistreId.CONFIG, new Configuration());
new Mediateur();
// J'appelle directement la page où je travaille
Mediateur mediat = Registry.get(RegistreId.MEDIATEUR);
mediat.clicMenu(MenuApplicationId.STRUCTURE);
}
}