Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1187 → Rev 1188

/trunk/src/org/tela_botanica/del/client/gestionhistorique/GestionnaireHistorique.java
16,8 → 16,11
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsPresenteur;
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsVue;
 
import com.google.gwt.core.shared.GWT;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.RootPanel;
 
46,6 → 49,20
FormulaireIdentificationPresenteur presenteurIdentification = new FormulaireIdentificationPresenteur(new FormulaireIdentificationVue(), new UtilisateurServiceConcret());
presenteurIdentification.go(zoneIdentification);
//3. Gérer le titre
Panel titre = RootPanel.get("zoneTitre");
if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
titre.clear();
HTML html = new HTML("<h1>PictoFlora</h1>");
titre.add(html);
}
if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS) || eventValue.equals("")) {
titre.clear();
HTML html = new HTML("<h1>IdentiPlante</h1>");
titre.add(html);
}
//Actions en fonction de la valeur de l'évènement
if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
cache.setHome(ConstantesNavigation.PAGE_RECHERCHE_IMAGES);