Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1367 Rev 1426
Line 28... Line 28...
28
 
28
 
29
	private static Binder uiBinder = GWT.create(Binder.class);
29
	private static Binder uiBinder = GWT.create(Binder.class);
Line 30... Line 30...
30
	private String labelRecherche = "";
30
	private String labelRecherche = "";
31
 
31
 
32
	@UiField
32
	@UiField
33
	Panel rechercheAvancee, taxon, commune, zoneRss;
33
	Panel rechercheAvancee, taxon, commune, zoneRss, conteneurMotCle, conteneurMotCleCel, conteneurMotCleDel  ;
34
	@UiField
34
	@UiField
35
	Label lienRechercheAvancee, recherchePrecedente;
35
	Label lienRechercheAvancee, recherchePrecedente;
36
	@UiField
36
	@UiField
37
	Button boutonRecherche, boutonRechercheAvancee, boutonFermer, boutonVider;
37
	Button boutonRecherche, boutonRechercheAvancee, boutonFermer, boutonVider;
38
	@UiField
38
	@UiField
39
	TextBox recherchePrincipale, contientMots, departement, famille, genre, motCle, auteur, date;
39
	TextBox recherchePrincipale, contientMots, departement, famille, genre, motCle, motCleCel, motCleDel, auteur, date;
Line 40... Line 40...
40
	@UiField
40
	@UiField
Line 168... Line 168...
168
		contientMots.setText(informationsRecherche.getRechercheLibre());
168
		contientMots.setText(informationsRecherche.getRechercheLibre());
169
		departement.setText(informationsRecherche.getDepartement());
169
		departement.setText(informationsRecherche.getDepartement());
170
		famille.setText(informationsRecherche.getFamille());
170
		famille.setText(informationsRecherche.getFamille());
171
		genre.setText(informationsRecherche.getGenre());
171
		genre.setText(informationsRecherche.getGenre());
172
		motCle.setText(informationsRecherche.getMotClef());
172
		motCle.setText(informationsRecherche.getMotClef());
-
 
173
		motCleCel.setText(informationsRecherche.getMotClefCel());
-
 
174
		motCleDel.setText(informationsRecherche.getMotClefDel());
173
		auteur.setText(informationsRecherche.getAuteur());
175
		auteur.setText(informationsRecherche.getAuteur());
174
		date.setText(informationsRecherche.getDate());
176
		date.setText(informationsRecherche.getDate());
Line 175... Line 177...
175
		
177
		
176
		for(int i = 0; i < referentiel.getItemCount(); i++) {
178
		for(int i = 0; i < referentiel.getItemCount(); i++) {
Line 214... Line 216...
214
			texteRecherchePrecedente.append(I18n.getVocabulary().tag() + ":" + informationRecherche.getTag() + " ");
216
			texteRecherchePrecedente.append(I18n.getVocabulary().tag() + ":" + informationRecherche.getTag() + " ");
215
		}
217
		}
216
		if (informationRecherche.getMotClef() != null && !informationRecherche.getMotClef().equals("")) {
218
		if (informationRecherche.getMotClef() != null && !informationRecherche.getMotClef().equals("")) {
217
			texteRecherchePrecedente.append(I18n.getVocabulary().mot_clef() + ":" + informationRecherche.getMotClef() + " ");
219
			texteRecherchePrecedente.append(I18n.getVocabulary().mot_clef() + ":" + informationRecherche.getMotClef() + " ");
218
		}
220
		}
-
 
221
		if (informationRecherche.getMotClefCel() != null && !informationRecherche.getMotClefCel().equals("")) {
-
 
222
			texteRecherchePrecedente.append(I18n.getVocabulary().tagCel() + ":" + informationRecherche.getMotClefCel() + " ");
-
 
223
		}
-
 
224
		if (informationRecherche.getMotClefDel() != null && !informationRecherche.getMotClefDel().equals("")) {
-
 
225
			texteRecherchePrecedente.append(I18n.getVocabulary().tagDel() + ":" + informationRecherche.getMotClefDel() + " ");
-
 
226
		}
219
		if (informationRecherche.getAuteur() != null && !informationRecherche.getAuteur().equals("")) {
227
		if (informationRecherche.getAuteur() != null && !informationRecherche.getAuteur().equals("")) {
220
			texteRecherchePrecedente.append(I18n.getVocabulary().auteur() + ":" + informationRecherche.getAuteur() + " ");
228
			texteRecherchePrecedente.append(I18n.getVocabulary().auteur() + ":" + informationRecherche.getAuteur() + " ");
221
		}
229
		}
222
		if (informationRecherche.getDate() != null && !informationRecherche.getDate().equals("")) {
230
		if (informationRecherche.getDate() != null && !informationRecherche.getDate().equals("")) {
223
			texteRecherchePrecedente.append(I18n.getVocabulary().date() + ":" + informationRecherche.getDate() + " ");
231
			texteRecherchePrecedente.append(I18n.getVocabulary().date() + ":" + informationRecherche.getDate() + " ");
Line 272... Line 280...
272
	public void setReferentielLectureSeule(boolean lectureSeule) {
280
	public void setReferentielLectureSeule(boolean lectureSeule) {
273
		referentielLectureSeule = true;
281
		referentielLectureSeule = true;
274
		// la listbox ne possède aucun méthode directe pour être désactivée 
282
		// la listbox ne possède aucun méthode directe pour être désactivée 
275
		DOM.setElementProperty(referentiel.getElement(), "disabled", "disabled");
283
		DOM.setElementProperty(referentiel.getElement(), "disabled", "disabled");
276
	}
284
	}
-
 
285
 
-
 
286
	@Override
-
 
287
	public HasKeyPressHandlers getChampsMotCleDel() {
-
 
288
		return motCleDel;
-
 
289
	}
-
 
290
 
-
 
291
	@Override
-
 
292
	public HasKeyPressHandlers getChampsMotCleCel() {
-
 
293
		return motCleCel;
-
 
294
	}
-
 
295
 
-
 
296
	@Override
-
 
297
	public String getMotCleDel() {
-
 
298
		return motCleDel.getText();
-
 
299
	}
-
 
300
 
-
 
301
	@Override
-
 
302
	public String getMotCleCel() {
-
 
303
		return motCleCel.getText();
-
 
304
	}
-
 
305
 
-
 
306
	@Override
-
 
307
	public void cacherChampsTagsImage() {
-
 
308
		conteneurMotCleCel.setVisible(false);
-
 
309
		conteneurMotCleDel.setVisible(false);
-
 
310
	}
-
 
311
 
-
 
312
	@Override
-
 
313
	public void cacherChampsTagsObs() {
-
 
314
		conteneurMotCle.setVisible(false);
-
 
315
	}
277
}
316
}
278
317