Subversion Repositories eFlore/Applications.del

Rev

Rev 1426 | Rev 1986 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1426 Rev 1792
1
package org.tela_botanica.del.client.composants.moteurrecherche;
1
package org.tela_botanica.del.client.composants.moteurrecherche;
2
 
2
 
3
import java.util.Iterator;
3
import java.util.Iterator;
4
import java.util.Map;
4
import java.util.Map;
5
 
5
 
6
import org.tela_botanica.del.client.i18n.I18n;
6
import org.tela_botanica.del.client.i18n.I18n;
7
import org.tela_botanica.del.client.modeles.InformationsRecherche;
7
import org.tela_botanica.del.client.modeles.InformationsRecherche;
8
 
8
 
9
import com.google.gwt.core.client.GWT;
9
import com.google.gwt.core.client.GWT;
10
import com.google.gwt.event.dom.client.HasClickHandlers;
10
import com.google.gwt.event.dom.client.HasClickHandlers;
11
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
11
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
12
import com.google.gwt.uibinder.client.UiBinder;
12
import com.google.gwt.uibinder.client.UiBinder;
13
import com.google.gwt.uibinder.client.UiField;
13
import com.google.gwt.uibinder.client.UiField;
14
import com.google.gwt.user.client.DOM;
14
import com.google.gwt.user.client.DOM;
15
import com.google.gwt.user.client.ui.Button;
15
import com.google.gwt.user.client.ui.Button;
16
import com.google.gwt.user.client.ui.Composite;
16
import com.google.gwt.user.client.ui.Composite;
17
import com.google.gwt.user.client.ui.HasWidgets;
17
import com.google.gwt.user.client.ui.HasWidgets;
18
import com.google.gwt.user.client.ui.Label;
18
import com.google.gwt.user.client.ui.Label;
19
import com.google.gwt.user.client.ui.ListBox;
19
import com.google.gwt.user.client.ui.ListBox;
20
import com.google.gwt.user.client.ui.Panel;
20
import com.google.gwt.user.client.ui.Panel;
21
import com.google.gwt.user.client.ui.TextBox;
21
import com.google.gwt.user.client.ui.TextBox;
22
import com.google.gwt.user.client.ui.Widget;
22
import com.google.gwt.user.client.ui.Widget;
23
 
23
 
24
public class MoteurRechercheVue extends Composite implements MoteurRecherchePresenteur.Vue {
24
public class MoteurRechercheVue extends Composite implements MoteurRecherchePresenteur.Vue {
25
 
25
 
26
	interface Binder extends UiBinder<Widget, MoteurRechercheVue> {
26
	interface Binder extends UiBinder<Widget, MoteurRechercheVue> {
27
	}
27
	}
28
 
28
 
29
	private static Binder uiBinder = GWT.create(Binder.class);
29
	private static Binder uiBinder = GWT.create(Binder.class);
30
	private String labelRecherche = "";
30
	private String labelRecherche = "";
31
 
31
 
32
	@UiField
32
	@UiField
33
	Panel rechercheAvancee, taxon, commune, zoneRss, conteneurMotCle, conteneurMotCleCel, conteneurMotCleDel  ;
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, motCleCel, motCleDel, auteur, date;
39
	TextBox recherchePrincipale, contientMots, departement, famille, genre, motCle, motCleCel, motCleDel, auteur, date;
40
	@UiField
40
	@UiField
41
	ListBox referentiel;
41
	ListBox referentiel;
42
	
-
 
43
	private boolean referentielLectureSeule = false;
-
 
44
 
42
 
45
	public MoteurRechercheVue(String labelRecherche) {
43
	public MoteurRechercheVue(String labelRecherche) {
46
		initWidget(uiBinder.createAndBindUi(this));
44
		initWidget(uiBinder.createAndBindUi(this));
47
		this.labelRecherche = labelRecherche;
45
		this.labelRecherche = labelRecherche;
48
		recherchePrincipale.setText(labelRecherche);
46
		recherchePrincipale.setText(labelRecherche);
49
		rechercheAvancee.setVisible(false);
47
		rechercheAvancee.setVisible(false);
50
	}
48
	}
51
	
49
	
52
	@Override
50
	@Override
53
	public void remplirListeReferentiels(Map<String, String> listeReferentiels) {
51
	public void remplirListeReferentiels(Map<String, String> listeReferentiels) {
54
		for (Iterator<String> iterator = listeReferentiels.keySet().iterator(); iterator.hasNext();) {
52
		for (Iterator<String> iterator = listeReferentiels.keySet().iterator(); iterator.hasNext();) {
55
			String codeRef = iterator.next();
53
			String codeRef = iterator.next();
56
			referentiel.addItem(listeReferentiels.get(codeRef), codeRef);
54
			referentiel.addItem(listeReferentiels.get(codeRef), codeRef);
57
		}
55
		}
-
 
56
		referentiel.setItemSelected(1, true);
58
	}
57
	}
59
 
58
 
60
	public String getLabelRecherche() {
59
	public String getLabelRecherche() {
61
		return labelRecherche;
60
		return labelRecherche;
62
	}
61
	}
63
 
62
 
64
	public HasClickHandlers getLienRechercheAvancee() {
63
	public HasClickHandlers getLienRechercheAvancee() {
65
		return lienRechercheAvancee;
64
		return lienRechercheAvancee;
66
	}
65
	}
67
 
66
 
68
	public HasClickHandlers getBoutonRechercheSimple() {
67
	public HasClickHandlers getBoutonRechercheSimple() {
69
		return boutonRecherche;
68
		return boutonRecherche;
70
	}
69
	}
71
 
70
 
72
	public HasClickHandlers getBoutonFermer() {
71
	public HasClickHandlers getBoutonFermer() {
73
		return boutonFermer;
72
		return boutonFermer;
74
	}
73
	}
75
 
74
 
76
	public HasClickHandlers getBoutonVider() {
75
	public HasClickHandlers getBoutonVider() {
77
		return boutonVider;
76
		return boutonVider;
78
	}
77
	}
79
 
78
 
80
	public HasClickHandlers getBoutonRechercheAvancee() {
79
	public HasClickHandlers getBoutonRechercheAvancee() {
81
		return boutonRechercheAvancee;
80
		return boutonRechercheAvancee;
82
	}
81
	}
83
 
82
 
84
	public HasKeyPressHandlers getChampSaisie() {
83
	public HasKeyPressHandlers getChampSaisie() {
85
		return recherchePrincipale;
84
		return recherchePrincipale;
86
	}
85
	}
87
 
86
 
88
	public String getValeurRechercheSimple() {
87
	public String getValeurRechercheSimple() {
89
		return recherchePrincipale.getText();
88
		return recherchePrincipale.getText();
90
	}
89
	}
91
 
90
 
92
	public void setValeurRechercheSimple(String valeurRecherche) {
91
	public void setValeurRechercheSimple(String valeurRecherche) {
93
		recherchePrincipale.setText(valeurRecherche);
92
		recherchePrincipale.setText(valeurRecherche);
94
	}
93
	}
95
 
94
 
96
	public HasClickHandlers getChampSaisieCliquable() {
95
	public HasClickHandlers getChampSaisieCliquable() {
97
		return recherchePrincipale;
96
		return recherchePrincipale;
98
	}
97
	}
99
 
98
 
100
	public String getContientMots() {
99
	public String getContientMots() {
101
		return contientMots.getText();
100
		return contientMots.getText();
102
	}
101
	}
103
 
102
 
104
	public void setContientMots(String mots) {
103
	public void setContientMots(String mots) {
105
		contientMots.setText(mots);
104
		contientMots.setText(mots);
106
	}
105
	}
107
 
106
 
108
	public String getDepartement() {
107
	public String getDepartement() {
109
		return departement.getText();
108
		return departement.getText();
110
	}
109
	}
111
 
110
 
112
	public void setValeurDepartement(String dpt) {
111
	public void setValeurDepartement(String dpt) {
113
		departement.setValue(dpt);
112
		departement.setValue(dpt);
114
	}
113
	}
115
 
114
 
116
	public HasWidgets getCommune() {
115
	public HasWidgets getCommune() {
117
		return commune;
116
		return commune;
118
	}
117
	}
119
 
118
 
120
	public HasWidgets getTaxon() {
119
	public HasWidgets getTaxon() {
121
		return taxon;
120
		return taxon;
122
	}
121
	}
123
 
122
 
124
	public String getFamille() {
123
	public String getFamille() {
125
		return famille.getText();
124
		return famille.getText();
126
	}
125
	}
127
 
126
 
128
	public String getGenre() {
127
	public String getGenre() {
129
		return genre.getText();
128
		return genre.getText();
130
	}
129
	}
131
 
130
 
132
	public String getMotCle() {
131
	public String getMotCle() {
133
		return motCle.getText();
132
		return motCle.getText();
134
	}
133
	}
135
 
134
 
136
	public String getAuteur() {
135
	public String getAuteur() {
137
		return auteur.getText();
136
		return auteur.getText();
138
	}
137
	}
139
 
138
 
140
	public String getDate() {
139
	public String getDate() {
141
		return date.getText();
140
		return date.getText();
142
	}
141
	}
143
	
142
	
144
	public String getReferentiel() {
143
	public String getReferentiel() {
145
		return referentiel.getValue(referentiel.getSelectedIndex());
144
		return referentiel.getValue(referentiel.getSelectedIndex());
146
	}
145
	}
147
 
146
 
148
	public void focusSaisie() {
147
	public void focusSaisie() {
149
		this.recherchePrincipale.setFocus(true);
148
		this.recherchePrincipale.setFocus(true);
150
	}
149
	}
151
 
150
 
152
	public void ajouterVue(HasWidgets composite) {
151
	public void ajouterVue(HasWidgets composite) {
153
		composite.add(this.asWidget());
152
		composite.add(this.asWidget());
154
	}
153
	}
155
 
154
 
156
	public void basculerAffichageZoneCache() {
155
	public void basculerAffichageZoneCache() {
157
		rechercheAvancee.setVisible(!rechercheAvancee.isVisible());
156
		rechercheAvancee.setVisible(!rechercheAvancee.isVisible());
158
		recherchePrincipale.setVisible(!recherchePrincipale.isVisible());
157
		recherchePrincipale.setVisible(!recherchePrincipale.isVisible());
159
		boutonRecherche.setVisible(!boutonRecherche.isVisible());
158
		boutonRecherche.setVisible(!boutonRecherche.isVisible());
160
	}
159
	}
161
 
160
 
162
	public void nettoyer() {
161
	public void nettoyer() {
163
		chargerValeursRecherchePrecedente(new InformationsRecherche());
162
		chargerValeursRecherchePrecedente(new InformationsRecherche());
164
	}
163
	}
165
 
164
 
166
	public void chargerValeursRecherchePrecedente(InformationsRecherche informationsRecherche) {
165
	public void chargerValeursRecherchePrecedente(InformationsRecherche informationsRecherche) {
167
		recherchePrincipale.setText(informationsRecherche.getRechercheLibre());
166
		recherchePrincipale.setText(informationsRecherche.getRechercheLibre());
168
		contientMots.setText(informationsRecherche.getRechercheLibre());
167
		contientMots.setText(informationsRecherche.getRechercheLibre());
169
		departement.setText(informationsRecherche.getDepartement());
168
		departement.setText(informationsRecherche.getDepartement());
170
		famille.setText(informationsRecherche.getFamille());
169
		famille.setText(informationsRecherche.getFamille());
171
		genre.setText(informationsRecherche.getGenre());
170
		genre.setText(informationsRecherche.getGenre());
172
		motCle.setText(informationsRecherche.getMotClef());
171
		motCle.setText(informationsRecherche.getMotClef());
173
		motCleCel.setText(informationsRecherche.getMotClefCel());
172
		motCleCel.setText(informationsRecherche.getMotClefCel());
174
		motCleDel.setText(informationsRecherche.getMotClefDel());
173
		motCleDel.setText(informationsRecherche.getMotClefDel());
175
		auteur.setText(informationsRecherche.getAuteur());
174
		auteur.setText(informationsRecherche.getAuteur());
176
		date.setText(informationsRecherche.getDate());
175
		date.setText(informationsRecherche.getDate());
177
		
176
		
178
		for(int i = 0; i < referentiel.getItemCount(); i++) {
177
		for(int i = 0; i < referentiel.getItemCount(); i++) {
179
			if(referentiel.getValue(i).equals(informationsRecherche.getReferentiel())) {
178
			if(referentiel.getValue(i).equals(informationsRecherche.getReferentiel())) {
180
				referentiel.setSelectedIndex(i);
179
				referentiel.setSelectedIndex(i);
181
			}
180
			}
182
		}
181
		}
183
 
182
 
184
		afficherLigneInfoRecherche(informationsRecherche);
183
		afficherLigneInfoRecherche(informationsRecherche);
185
	}
184
	}
186
 
185
 
187
	/**
186
	/**
188
	 * Affiche la ligne d'en tête montrant les elements de la requête à
187
	 * Affiche la ligne d'en tête montrant les elements de la requête à
189
	 * l'utilisateur
188
	 * l'utilisateur
190
	 * 
189
	 * 
191
	 * @param informationRecherche
190
	 * @param informationRecherche
192
	 */
191
	 */
193
	private void afficherLigneInfoRecherche(InformationsRecherche informationRecherche) {
192
	private void afficherLigneInfoRecherche(InformationsRecherche informationRecherche) {
194
		// tax dep com fam gen ta mo au date
193
		// tax dep com fam gen ta mo au date
195
		StringBuffer texteRecherchePrecedente = new StringBuffer();
194
		StringBuffer texteRecherchePrecedente = new StringBuffer();
196
 
195
 
197
		if (informationRecherche.getRechercheLibre() != null && !informationRecherche.getRechercheLibre().equals("")) {
196
		if (informationRecherche.getRechercheLibre() != null && !informationRecherche.getRechercheLibre().equals("")) {
198
			texteRecherchePrecedente.append(I18n.getVocabulary().rechercheLibre() + ":" + informationRecherche.getRechercheLibre() + " ");
197
			texteRecherchePrecedente.append(I18n.getVocabulary().rechercheLibre() + ":" + informationRecherche.getRechercheLibre() + " ");
199
		}
198
		}
200
		if (informationRecherche.getTaxon() != null && !informationRecherche.getTaxon().equals("")) {
199
		if (informationRecherche.getTaxon() != null && !informationRecherche.getTaxon().equals("")) {
201
			texteRecherchePrecedente.append(I18n.getVocabulary().taxon() + ":" + informationRecherche.getTaxon() + " ");
200
			texteRecherchePrecedente.append(I18n.getVocabulary().taxon() + ":" + informationRecherche.getTaxon() + " ");
202
		}
201
		}
203
		if (informationRecherche.getDepartement() != null && !informationRecherche.getDepartement().equals("")) {
202
		if (informationRecherche.getDepartement() != null && !informationRecherche.getDepartement().equals("")) {
204
			texteRecherchePrecedente.append(I18n.getVocabulary().departement() + ":" + informationRecherche.getDepartement() + " ");
203
			texteRecherchePrecedente.append(I18n.getVocabulary().departement() + ":" + informationRecherche.getDepartement() + " ");
205
		}
204
		}
206
		if (informationRecherche.getCommune() != null && !informationRecherche.getCommune().equals("")) {
205
		if (informationRecherche.getCommune() != null && !informationRecherche.getCommune().equals("")) {
207
			texteRecherchePrecedente.append(I18n.getVocabulary().commune() + ":" + informationRecherche.getCommune() + " ");
206
			texteRecherchePrecedente.append(I18n.getVocabulary().commune() + ":" + informationRecherche.getCommune() + " ");
208
		}
207
		}
209
		if (informationRecherche.getFamille() != null && !informationRecherche.getFamille().equals("")) {
208
		if (informationRecherche.getFamille() != null && !informationRecherche.getFamille().equals("")) {
210
			texteRecherchePrecedente.append(I18n.getVocabulary().famille() + ":" + informationRecherche.getFamille() + " ");
209
			texteRecherchePrecedente.append(I18n.getVocabulary().famille() + ":" + informationRecherche.getFamille() + " ");
211
		}
210
		}
212
		if (informationRecherche.getGenre() != null && !informationRecherche.getGenre().equals("")) {
211
		if (informationRecherche.getGenre() != null && !informationRecherche.getGenre().equals("")) {
213
			texteRecherchePrecedente.append(I18n.getVocabulary().genre() + ":" + informationRecherche.getGenre() + " ");
212
			texteRecherchePrecedente.append(I18n.getVocabulary().genre() + ":" + informationRecherche.getGenre() + " ");
214
		}
213
		}
215
		if (informationRecherche.getTag() != null && !informationRecherche.getTag().equals("")) {
214
		if (informationRecherche.getTag() != null && !informationRecherche.getTag().equals("")) {
216
			texteRecherchePrecedente.append(I18n.getVocabulary().tag() + ":" + informationRecherche.getTag() + " ");
215
			texteRecherchePrecedente.append(I18n.getVocabulary().tag() + ":" + informationRecherche.getTag() + " ");
217
		}
216
		}
218
		if (informationRecherche.getMotClef() != null && !informationRecherche.getMotClef().equals("")) {
217
		if (informationRecherche.getMotClef() != null && !informationRecherche.getMotClef().equals("")) {
219
			texteRecherchePrecedente.append(I18n.getVocabulary().mot_clef() + ":" + informationRecherche.getMotClef() + " ");
218
			texteRecherchePrecedente.append(I18n.getVocabulary().mot_clef() + ":" + informationRecherche.getMotClef() + " ");
220
		}
219
		}
221
		if (informationRecherche.getMotClefCel() != null && !informationRecherche.getMotClefCel().equals("")) {
220
		if (informationRecherche.getMotClefCel() != null && !informationRecherche.getMotClefCel().equals("")) {
222
			texteRecherchePrecedente.append(I18n.getVocabulary().tagCel() + ":" + informationRecherche.getMotClefCel() + " ");
221
			texteRecherchePrecedente.append(I18n.getVocabulary().tagCel() + ":" + informationRecherche.getMotClefCel() + " ");
223
		}
222
		}
224
		if (informationRecherche.getMotClefDel() != null && !informationRecherche.getMotClefDel().equals("")) {
223
		if (informationRecherche.getMotClefDel() != null && !informationRecherche.getMotClefDel().equals("")) {
225
			texteRecherchePrecedente.append(I18n.getVocabulary().tagDel() + ":" + informationRecherche.getMotClefDel() + " ");
224
			texteRecherchePrecedente.append(I18n.getVocabulary().tagDel() + ":" + informationRecherche.getMotClefDel() + " ");
226
		}
225
		}
227
		if (informationRecherche.getAuteur() != null && !informationRecherche.getAuteur().equals("")) {
226
		if (informationRecherche.getAuteur() != null && !informationRecherche.getAuteur().equals("")) {
228
			texteRecherchePrecedente.append(I18n.getVocabulary().auteur() + ":" + informationRecherche.getAuteur() + " ");
227
			texteRecherchePrecedente.append(I18n.getVocabulary().auteur() + ":" + informationRecherche.getAuteur() + " ");
229
		}
228
		}
230
		if (informationRecherche.getDate() != null && !informationRecherche.getDate().equals("")) {
229
		if (informationRecherche.getDate() != null && !informationRecherche.getDate().equals("")) {
231
			texteRecherchePrecedente.append(I18n.getVocabulary().date() + ":" + informationRecherche.getDate() + " ");
230
			texteRecherchePrecedente.append(I18n.getVocabulary().date() + ":" + informationRecherche.getDate() + " ");
232
		}
231
		}
233
		if (informationRecherche.getReferentiel() != null && !informationRecherche.getReferentiel().equals("")) {
232
		if (informationRecherche.getReferentiel() != null && !informationRecherche.getReferentiel().equals("")) {
234
			texteRecherchePrecedente.append(I18n.getVocabulary().referentiel() + ":" + informationRecherche.getReferentiel() + " ");
233
			texteRecherchePrecedente.append(I18n.getVocabulary().referentiel() + ":" + informationRecherche.getReferentiel() + " ");
235
		}
234
		}
236
 
235
 
237
		recherchePrecedente.setText(texteRecherchePrecedente.toString());
236
		recherchePrecedente.setText(texteRecherchePrecedente.toString());
238
	}
237
	}
239
 
238
 
240
	@Override
239
	@Override
241
	public HasKeyPressHandlers getChampsFamille() {
240
	public HasKeyPressHandlers getChampsFamille() {
242
		return famille;
241
		return famille;
243
	}
242
	}
244
 
243
 
245
	@Override
244
	@Override
246
	public HasKeyPressHandlers getChampsGenre() {
245
	public HasKeyPressHandlers getChampsGenre() {
247
		return genre;
246
		return genre;
248
	}
247
	}
249
 
248
 
250
	@Override
249
	@Override
251
	public HasKeyPressHandlers getChampsMotCle() {
250
	public HasKeyPressHandlers getChampsMotCle() {
252
		return motCle;
251
		return motCle;
253
	}
252
	}
254
 
253
 
255
	@Override
254
	@Override
256
	public HasKeyPressHandlers getChampsAuteur() {
255
	public HasKeyPressHandlers getChampsAuteur() {
257
		return auteur;
256
		return auteur;
258
	}
257
	}
259
 
258
 
260
	@Override
259
	@Override
261
	public HasKeyPressHandlers getChampsDate() {
260
	public HasKeyPressHandlers getChampsDate() {
262
		return date;
261
		return date;
263
	}
262
	}
264
 
263
 
265
	@Override
264
	@Override
266
	public HasKeyPressHandlers getChampsDepartement() {
265
	public HasKeyPressHandlers getChampsDepartement() {
267
		return departement;
266
		return departement;
268
	}
267
	}
269
 
268
 
270
	@Override
269
	@Override
271
	public HasKeyPressHandlers getChampsContientMots() {
270
	public HasKeyPressHandlers getChampsContientMots() {
272
		return contientMots;
271
		return contientMots;
273
	}
272
	}
274
	
273
	
275
	public HasWidgets getZoneRss() {
274
	public HasWidgets getZoneRss() {
276
		return zoneRss;
275
		return zoneRss;
277
	}
276
	}
278
 
277
 
279
	@Override
278
	@Override
280
	public void setReferentielLectureSeule(boolean lectureSeule) {
279
	public void setReferentielLectureSeule(boolean lectureSeule) {
281
		referentielLectureSeule = true;
-
 
282
		// la listbox ne possède aucun méthode directe pour être désactivée 
280
		// la listbox ne possède aucun méthode directe pour être désactivée
283
		DOM.setElementProperty(referentiel.getElement(), "disabled", "disabled");
281
		DOM.setElementProperty(referentiel.getElement(), "disabled", "disabled");
284
	}
282
	}
285
 
283
 
286
	@Override
284
	@Override
287
	public HasKeyPressHandlers getChampsMotCleDel() {
285
	public HasKeyPressHandlers getChampsMotCleDel() {
288
		return motCleDel;
286
		return motCleDel;
289
	}
287
	}
290
 
288
 
291
	@Override
289
	@Override
292
	public HasKeyPressHandlers getChampsMotCleCel() {
290
	public HasKeyPressHandlers getChampsMotCleCel() {
293
		return motCleCel;
291
		return motCleCel;
294
	}
292
	}
295
 
293
 
296
	@Override
294
	@Override
297
	public String getMotCleDel() {
295
	public String getMotCleDel() {
298
		return motCleDel.getText();
296
		return motCleDel.getText();
299
	}
297
	}
300
 
298
 
301
	@Override
299
	@Override
302
	public String getMotCleCel() {
300
	public String getMotCleCel() {
303
		return motCleCel.getText();
301
		return motCleCel.getText();
304
	}
302
	}
305
 
303
 
306
	@Override
304
	@Override
307
	public void cacherChampsTagsImage() {
305
	public void cacherChampsTagsImage() {
308
		conteneurMotCleCel.setVisible(false);
306
		conteneurMotCleCel.setVisible(false);
309
		conteneurMotCleDel.setVisible(false);
307
		conteneurMotCleDel.setVisible(false);
310
	}
308
	}
311
 
309
 
312
	@Override
310
	@Override
313
	public void cacherChampsTagsObs() {
311
	public void cacherChampsTagsObs() {
314
		conteneurMotCle.setVisible(false);
312
		conteneurMotCle.setVisible(false);
315
	}
313
	}
316
}
314
}