Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 394 → Rev 395

/trunk/src/org/tela_botanica/client/Coel.java
15,31 → 15,29
*/
public class Coel implements EntryPoint {
 
private Constantes constantes;
private PopupChargement popupChargement;
public Constantes i18nC;
 
/**
* This is the entry point method.
*/
public void onModuleLoad() {
GXT.hideLoadingPanel("loading");
popupChargement = new PopupChargement();
Registry.register(RegistreId.POPUP_CHARGEMENT, popupChargement);
i18nC = GWT.create(Constantes.class);
initialiserRegistre();
constantes = GWT.create(Constantes.class);
new Mediateur();
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$");
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);
}
protected void initialiserRegistre() {
Registry.register(RegistreId.APPLI_NOM, i18nC.appliNom());
Registry.register(RegistreId.APPLI_CODE, i18nC.appliCode());
Registry.register(RegistreId.APPLI_VERSION, i18nC.appliVersion());
Registry.register(RegistreId.APPLI_REVISION, "$Revision$");
Registry.register(RegistreId.CONFIG, new Configuration());
Registry.register(RegistreId.POPUP_CHARGEMENT, new PopupChargement());
}
 
}