Subversion Repositories eFlore/Applications.del

Rev

Rev 1183 | Rev 1189 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1183 Rev 1188
Line 14... Line 14...
14
import org.tela_botanica.del.client.vues.rechercheimages.moteur.MoteurRechercheImagePresenteur;
14
import org.tela_botanica.del.client.vues.rechercheimages.moteur.MoteurRechercheImagePresenteur;
15
import org.tela_botanica.del.client.vues.rechercheimages.moteur.MoteurRechercheImageVue;
15
import org.tela_botanica.del.client.vues.rechercheimages.moteur.MoteurRechercheImageVue;
16
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsPresenteur;
16
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsPresenteur;
17
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsVue;
17
import org.tela_botanica.del.client.vues.rechercheobservations.moteur.MoteurRechercheObservationsVue;
Line -... Line 18...
-
 
18
 
18
 
19
import com.google.gwt.core.shared.GWT;
19
import com.google.gwt.event.logical.shared.ValueChangeEvent;
20
import com.google.gwt.event.logical.shared.ValueChangeEvent;
-
 
21
import com.google.gwt.event.logical.shared.ValueChangeHandler;
-
 
22
import com.google.gwt.user.client.ui.HTML;
20
import com.google.gwt.event.logical.shared.ValueChangeHandler;
23
import com.google.gwt.user.client.ui.Label;
21
import com.google.gwt.user.client.ui.Panel;
24
import com.google.gwt.user.client.ui.Panel;
Line 22... Line 25...
22
import com.google.gwt.user.client.ui.RootPanel;
25
import com.google.gwt.user.client.ui.RootPanel;
23
 
26
 
Line 44... Line 47...
44
		zoneIdentification.clear();
47
		zoneIdentification.clear();
Line 45... Line 48...
45
		
48
		
46
		FormulaireIdentificationPresenteur presenteurIdentification = new FormulaireIdentificationPresenteur(new FormulaireIdentificationVue(), new UtilisateurServiceConcret());
49
		FormulaireIdentificationPresenteur presenteurIdentification = new FormulaireIdentificationPresenteur(new FormulaireIdentificationVue(), new UtilisateurServiceConcret());
Line -... Line 50...
-
 
50
		presenteurIdentification.go(zoneIdentification);
-
 
51
		
-
 
52
		//3. Gérer le titre
-
 
53
		Panel titre = RootPanel.get("zoneTitre");
-
 
54
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
-
 
55
			titre.clear();
-
 
56
			HTML html = new HTML("<h1>PictoFlora</h1>");
-
 
57
			titre.add(html);
-
 
58
		}
-
 
59
		
-
 
60
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS) || eventValue.equals("")) {
-
 
61
			titre.clear();
-
 
62
			HTML html = new HTML("<h1>IdentiPlante</h1>");
-
 
63
			titre.add(html);
47
		presenteurIdentification.go(zoneIdentification);
64
		}
48
		
65
		
49
		//Actions en fonction de la valeur de l'évènement
66
		//Actions en fonction de la valeur de l'évènement
50
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
67
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
51
			cache.setHome(ConstantesNavigation.PAGE_RECHERCHE_IMAGES);
68
			cache.setHome(ConstantesNavigation.PAGE_RECHERCHE_IMAGES);