Subversion Repositories eFlore/Applications.del

Rev

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

Rev 451 Rev 457
Line 24... Line 24...
24
 
24
 
25
	private static Binder uiBinder = GWT.create(Binder.class);
25
	private static Binder uiBinder = GWT.create(Binder.class);
Line 26... Line 26...
26
	private String labelRecherche = "";
26
	private String labelRecherche = "";
27
 
27
 
28
	@UiField
28
	@UiField
29
	Panel rechercheAvancee, taxon;
29
	Panel rechercheAvancee, taxon, commune;
30
	@UiField
30
	@UiField
31
	Label lienRechercheAvancee, recherchePrecedente;
31
	Label lienRechercheAvancee, recherchePrecedente;
32
	@UiField
32
	@UiField
33
	Button boutonRecherche, boutonRechercheAvancee, boutonFermer, boutonVider;
33
	Button boutonRecherche, boutonRechercheAvancee, boutonFermer, boutonVider;
Line 34... Line 34...
34
	@UiField
34
	@UiField
35
	TextBox recherchePrincipale, departement, commune, famille, genre, tag, motCle, auteur, date;
35
	TextBox recherchePrincipale, departement, famille, genre, tag, motCle, auteur, date;
36
 
36
 
37
	public MoteurRechercheVue(String labelRecherche) {
37
	public MoteurRechercheVue(String labelRecherche) {
Line 94... Line 94...
94
 
94
 
95
	@Override
95
	@Override
96
	public void setValeurRechercheSimple(String valeurRecherche) {
96
	public void setValeurRechercheSimple(String valeurRecherche) {
97
		recherchePrincipale.setText(valeurRecherche);
97
		recherchePrincipale.setText(valeurRecherche);
-
 
98
	}
-
 
99
	
-
 
100
	@Override
-
 
101
	public void setValeurDepartement(String dpt) {
-
 
102
		departement.setValue(dpt);
Line 98... Line 103...
98
	}
103
	}
99
 
104
 
100
	public void chargerValeursRecherchePrecedente(InformationsRecherche informationsRecherche) {
105
	public void chargerValeursRecherchePrecedente(InformationsRecherche informationsRecherche) {
101
		recherchePrincipale.setText(informationsRecherche.getRechercheLibre());
-
 
102
		departement.setText(informationsRecherche.getDepartement());
106
		recherchePrincipale.setText(informationsRecherche.getRechercheLibre());
103
		commune.setText(informationsRecherche.getCommune());
107
		departement.setText(informationsRecherche.getDepartement());
104
		famille.setText(informationsRecherche.getFamille());
108
		famille.setText(informationsRecherche.getFamille());
105
		genre.setText(informationsRecherche.getGenre());
109
		genre.setText(informationsRecherche.getGenre());
106
		tag.setText(informationsRecherche.getTag());
110
		tag.setText(informationsRecherche.getTag());
Line 166... Line 170...
166
 
170
 
167
	public String getDepartement() {
171
	public String getDepartement() {
168
		return departement.getText();
172
		return departement.getText();
Line 169... Line 173...
169
	}
173
	}
170
 
174
 
171
	public String getCommune() {
175
	public HasWidgets getCommune() {
Line 172... Line 176...
172
		return commune.getText();
176
		return commune;
173
	}
177
	}
174
 
178