Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1188 Rev 1189
Line 50... Line 50...
50
		presenteurIdentification.go(zoneIdentification);
50
		presenteurIdentification.go(zoneIdentification);
Line 51... Line 51...
51
		
51
		
52
		//3. Gérer le titre
52
		//3. Gérer le titre
53
		Panel titre = RootPanel.get("zoneTitre");
53
		Panel titre = RootPanel.get("zoneTitre");
54
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
-
 
55
			titre.clear();
54
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
56
			HTML html = new HTML("<h1>PictoFlora</h1>");
-
 
57
			titre.add(html);
55
			afficherTitrePictoFlora(titre);
Line 58... Line 56...
58
		}
56
		}
59
		
57
		
-
 
58
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS) || eventValue.equals("")) {
-
 
59
			afficherTitreIdp(titre);
-
 
60
		}
60
		if (eventValue.equals(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS) || eventValue.equals("")) {
61
		
-
 
62
		if (eventValue.equals(ConstantesNavigation.HOME)) {
-
 
63
			String home = cache.getHome();
-
 
64
			if (home.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
61
			titre.clear();
65
				afficherTitrePictoFlora(titre);
-
 
66
			} else {
62
			HTML html = new HTML("<h1>IdentiPlante</h1>");
67
				afficherTitreIdp(titre);
Line 63... Line 68...
63
			titre.add(html);
68
			}
64
		}
69
		}
65
		
70
		
Line 87... Line 92...
87
		else{
92
		else{
88
			lancerMoteurRechercheObservation(contenu);
93
			lancerMoteurRechercheObservation(contenu);
89
		}
94
		}
90
	}
95
	}
Line -... Line 96...
-
 
96
	
-
 
97
	
-
 
98
	/**
-
 
99
	 * Afficher ler titre Identiplance
-
 
100
	 * */
-
 
101
	public void afficherTitreIdp(Panel titre) {
-
 
102
		titre.clear();
-
 
103
		HTML html = new HTML("<h1>IdentiPlante</h1>");
-
 
104
		titre.add(html);
-
 
105
	}
-
 
106
	
-
 
107
	/**
-
 
108
	 * Afficher ler titre Identiplance
-
 
109
	 * */
-
 
110
	public void afficherTitrePictoFlora(Panel titre) {
-
 
111
		titre.clear();
-
 
112
		HTML html = new HTML("<h1>Pictoflora</h1>");
-
 
113
		titre.add(html);
-
 
114
	}
91
	
115
	
92
	/**
116
	/**
93
	 * Générer la page de recherche observation et l'afficher dans panneau
117
	 * Générer la page de recherche observation et l'afficher dans panneau
94
	 * @param Panel panneau le panneau pour afficher le résultat
118
	 * @param Panel panneau le panneau pour afficher le résultat
95
	 * */
119
	 * */