Subversion Repositories eFlore/Applications.del

Rev

Rev 74 | Blame | Last modification | View Log | RSS feed

package org.tela_botanica.del.client;

import org.tela_botanica.del.client.gestionhistorique.ConstantesNavigation;
import org.tela_botanica.del.client.gestionhistorique.GestionnaireHistorique;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.History;

public class Del implements EntryPoint {

        @Override
        public void onModuleLoad() {
                History.addValueChangeHandler(new GestionnaireHistorique());

                // displays init page
                // CacheClient.getInstance().setCurrentObservation(MockDatasource.getInstance().getObservationCourante());
                // History.newItem(ConstantesNavigation.PAGE_COMPARAISON_EFLORE, true);
                History.newItem(ConstantesNavigation.PAGE_PRINCIPALE, true);

                History.fireCurrentHistoryState();
        }
}