Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 334 → Rev 335

/trunk/src/org/tela_botanica/del/client/gestionhistorique/GestionnaireHistorique.java
6,7 → 6,6
import org.tela_botanica.del.client.vues.plateformedetermination.DeterminationVue;
import org.tela_botanica.del.client.vues.rechercheimages.MoteurRechercheImagePresenteur;
import org.tela_botanica.del.client.vues.rechercheimages.MoteurRechercheImageVue;
import org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur;
import org.tela_botanica.del.client.vues.rechercheobservations.RechercheObservationsPresenteur;
import org.tela_botanica.del.client.vues.rechercheobservations.RechercheObservationsVue;
import org.tela_botanica.del.client.vues.vueinitiale.PresenteurInitial;
27,18 → 26,12
* */
public void onValueChange(ValueChangeEvent<String> event) {
 
RootPanel.get("navigation").clear();
new PresenteurInitial().go(RootPanel.get("navigation"));
 
if (event.getValue().equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
RootPanel.get("contenu").clear();
new MoteurRechercheImagePresenteur(new MoteurRechercheImageVue()).go(RootPanel.get("contenu"));
} else if (event.getValue().equals(ConstantesNavigation.PAGE_RESULTAT_RECHERCHE_IMAGES)) {
RootPanel.get("contenu").clear();
MoteurRechercheImagePresenteur presenteur = new MoteurRechercheImagePresenteur(new MoteurRechercheImageVue());
presenteur.go(RootPanel.get("contenu"));
new ResultatRechercheImagePresenteur().go(presenteur.getZoneResultats());
} else if (event.getValue().equals(ConstantesNavigation.PAGE_VALIDATION)) {
RootPanel.get("contenu").clear();
new DeterminationPresenteur(new DeterminationVue()).go(RootPanel.get("contenu"));
47,7 → 40,8
new ComparaisonEflorePresenteur(new ComparaisonEfloreVue()).go(RootPanel.get("contenu"));
} else if (event.getValue().equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS)) {
RootPanel.get("contenu").clear();
new RechercheObservationsPresenteur(new RechercheObservationsVue()).go(RootPanel.get("contenu"));
RechercheObservationsPresenteur presenteur = new RechercheObservationsPresenteur(new RechercheObservationsVue());
presenteur.go(RootPanel.get("contenu"));
}
}
}