Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1764 Rev 1784
Line 47... Line 47...
47
	
47
	
48
	private ChampComboBoxRechercheTempsReelPaginable structuresCombo = null;
48
	private ChampComboBoxRechercheTempsReelPaginable structuresCombo = null;
Line 49... Line 49...
49
	private ChampComboBoxRechercheTempsReelPaginable collectionsCombo = null;
49
	private ChampComboBoxRechercheTempsReelPaginable collectionsCombo = null;
50
	
-
 
51
	private ChampCaseACocher periodeConstitutionChp = null;
50
	
Line 52... Line 51...
52
	private ChampComboBoxListeValeurs groupementPrincipeCombo = null;
51
	private ChampCaseACocher periodeConstitutionChp = null;
53
	private ChampMultiValeurs lieuCouvertureChp = null;
52
	private ChampMultiValeurs lieuCouvertureChp = null;
54
 
53
 
55
	private ChampComboBoxListeValeurs specimenTypeCombo = null;
54
	private ChampComboBoxListeValeurs specimenTypeCombo = null;
Line 56... Line 55...
56
	private ChampComboBoxListeValeurs precisionTypeNbreCombo = null;
55
	private ChampComboBoxListeValeurs precisionTypeNbreCombo = null;
57
	private NumberField nbreTypeChp = null;
56
	private NumberField nbreTypeChp = null;
58
	private ChampComboBoxListeValeurs classementSpecimenTypeCombo = null;
-
 
59
	
57
	private ChampComboBoxListeValeurs classementSpecimenTypeCombo = null;
60
	private ChampComboBoxListeValeurs typeDepotCombo = null;
58
	
Line 61... Line -...
61
	private TextField<String> coteChp = null;
-
 
62
	private ChampMultiValeurs idAlternatifsChp = null;
59
	private ChampComboBoxListeValeurs typeDepotCombo = null;
63
	private ChampMultiValeurs nomsAlternatifsChp = null;
60
	private TextField<String> coteChp = null;
64
	private ChampMultiValeurs codesAlternatifsChp = null;
61
	private ChampMultiValeurs nomsAlternatifsChp = null;
65
	
-
 
66
	private TextArea descriptionSpecialisteChp = null;
-
 
Line 67... Line 62...
67
	private TextArea descriptionChp = null;
62
	private ChampMultiValeurs codesAlternatifsChp = null;
Line 68... Line 63...
68
	private TextArea historiqueChp = null;
63
	
69
	private ChampMultiValeurs urlsChp = null;
64
	private TextArea descriptionChp = null;
Line 192... Line 187...
192
		coteChp = new TextField<String>();
187
		coteChp = new TextField<String>();
193
		coteChp.setTabIndex(tabIndex++);
188
		coteChp.setTabIndex(tabIndex++);
194
		coteChp.setFieldLabel(i18nC.cote());
189
		coteChp.setFieldLabel(i18nC.cote());
195
		administratifFieldSet.add(coteChp, new FormData(450, 0));
190
		administratifFieldSet.add(coteChp, new FormData(450, 0));
Line 196... Line -...
196
		
-
 
197
		idAlternatifsChp = new ChampMultiValeurs(i18nC.idAlternatifCollection());
-
 
198
		administratifFieldSet.add(idAlternatifsChp);
-
 
199
		
191
		
200
		nomsAlternatifsChp = new ChampMultiValeurs(i18nC.intituleAlternatifCollection());
192
		nomsAlternatifsChp = new ChampMultiValeurs(i18nC.intituleAlternatifCollection());
Line 201... Line 193...
201
		administratifFieldSet.add(nomsAlternatifsChp);
193
		administratifFieldSet.add(nomsAlternatifsChp);
202
				
194
				
Line 215... Line 207...
215
 
207
 
216
		descriptionChp = new TextArea();
208
		descriptionChp = new TextArea();
217
		descriptionChp.setFieldLabel(i18nC.description());
209
		descriptionChp.setFieldLabel(i18nC.description());
Line 218... Line -...
218
		descriptionFieldSet.add(descriptionChp, new FormData(550, 0));
-
 
219
		
-
 
220
		descriptionSpecialisteChp = new TextArea();
-
 
221
		descriptionSpecialisteChp.setFieldLabel(i18nC.descriptionSpecialiste());
-
 
222
		descriptionFieldSet.add(descriptionSpecialisteChp, new FormData(550, 0));
210
		descriptionFieldSet.add(descriptionChp, new FormData(550, 0));
223
		
211
		
224
		historiqueChp = new TextArea();
212
		historiqueChp = new TextArea();
Line 225... Line 213...
225
		historiqueChp.setFieldLabel(i18nC.historique());
213
		historiqueChp.setFieldLabel(i18nC.historique());
Line 238... Line 226...
238
		couvertureFieldSet.setLayout(Formulaire.creerFormLayout(largeurLabelDefaut, alignementLabelDefaut));
226
		couvertureFieldSet.setLayout(Formulaire.creerFormLayout(largeurLabelDefaut, alignementLabelDefaut));
Line 239... Line 227...
239
		
227
		
240
		periodeConstitutionChp = new ChampCaseACocher(i18nC.periodeConstitution(), "siecleNaturaliste", false);
228
		periodeConstitutionChp = new ChampCaseACocher(i18nC.periodeConstitution(), "siecleNaturaliste", false);
Line 241... Line -...
241
		couvertureFieldSet.add(periodeConstitutionChp);
-
 
242
		
-
 
243
		groupementPrincipeCombo = new ChampComboBoxListeValeurs(i18nC.groupementPrincipeCollection(), "groupementPrincipe", tabIndex++);
-
 
244
		groupementPrincipeCombo.setToolTip(i18nC.groupementPrincipeCollectionInfo());
-
 
245
		couvertureFieldSet.add(groupementPrincipeCombo);
-
 
246
		
-
 
247
		butRealisationCombo = new ChampComboBoxListeValeurs(i18nC.butCollection(), "realisationBut", tabIndex++);
-
 
248
		couvertureFieldSet.add(butRealisationCombo);
229
		couvertureFieldSet.add(periodeConstitutionChp);
249
		
230
		
Line 250... Line 231...
250
		lieuCouvertureChp = new ChampMultiValeurs(i18nC.lieuCouvertureCollection());
231
		lieuCouvertureChp = new ChampMultiValeurs(i18nC.lieuCouvertureCollection());
251
		couvertureFieldSet.add(lieuCouvertureChp);
232
		couvertureFieldSet.add(lieuCouvertureChp);
Line 291... Line 272...
291
			setValeurComboStructures();
272
			setValeurComboStructures();
292
			setValeurComboCollections();
273
			setValeurComboCollections();
Line 293... Line 274...
293
			
274
			
294
			typeDepotCombo.peupler(collection.getTypeDepot());
275
			typeDepotCombo.peupler(collection.getTypeDepot());
295
			coteChp.setValue(collection.getCote());
-
 
296
			idAlternatifsChp.peupler(collection.getIdAlternatif());
276
			coteChp.setValue(collection.getCote());
297
			nomsAlternatifsChp.peupler(collection.getNomAlternatif());
277
			nomsAlternatifsChp.peupler(collection.getNomAlternatif());
Line 298... Line 278...
298
			codesAlternatifsChp.peupler(collection.getCode());
278
			codesAlternatifsChp.peupler(collection.getCode());
299
			
-
 
300
			descriptionChp.setValue(collection.getDescription());
279
			
301
			descriptionSpecialisteChp.setValue(collection.getDescriptionSpecialiste());
280
			descriptionChp.setValue(collection.getDescription());
Line 302... Line 281...
302
			historiqueChp.setValue(collection.getHistorique());
281
			historiqueChp.setValue(collection.getHistorique());
303
			urlsChp.peupler(collection.getUrls());
-
 
304
			
-
 
305
			periodeConstitutionChp.peupler(collection.getPeriodeConstitution());			
282
			urlsChp.peupler(collection.getUrls());
Line 306... Line 283...
306
			groupementPrincipeCombo.peupler(collection.getGroupementPrincipe());
283
			
307
			butRealisationCombo.peupler(collection.getGroupementBut());
284
			periodeConstitutionChp.peupler(collection.getPeriodeConstitution());			
308
			lieuCouvertureChp.peupler(collection.getCouvertureLieu());
285
			lieuCouvertureChp.peupler(collection.getCouvertureLieu());
Line 327... Line 304...
327
			collectionCollectee.setIdStructure(getValeurComboStructures());
304
			collectionCollectee.setIdStructure(getValeurComboStructures());
328
			collectionCollectee.setCollectionMereId(getValeurComboCollections());
305
			collectionCollectee.setCollectionMereId(getValeurComboCollections());
Line 329... Line 306...
329
			
306
			
330
			collectionCollectee.setTypeDepot(typeDepotCombo.getValeur());
307
			collectionCollectee.setTypeDepot(typeDepotCombo.getValeur());
331
			collectionCollectee.setCote(coteChp.getValue());
-
 
332
			collectionCollectee.setIdAlternatif(idAlternatifsChp.getValeurs());
308
			collectionCollectee.setCote(coteChp.getValue());
333
			collectionCollectee.setNomAlternatif(nomsAlternatifsChp.getValeurs());
309
			collectionCollectee.setNomAlternatif(nomsAlternatifsChp.getValeurs());
Line 334... Line 310...
334
			collectionCollectee.setCode(codesAlternatifsChp.getValeurs());
310
			collectionCollectee.setCode(codesAlternatifsChp.getValeurs());
335
			
-
 
336
			collectionCollectee.setDescription(descriptionChp.getValue());
311
			
337
			collectionCollectee.setDescriptionSpecialiste(descriptionSpecialisteChp.getValue());
312
			collectionCollectee.setDescription(descriptionChp.getValue());
Line 338... Line 313...
338
			collectionCollectee.setHistorique(historiqueChp.getValue());
313
			collectionCollectee.setHistorique(historiqueChp.getValue());
339
			collectionCollectee.setUrls(urlsChp.getValeurs());
-
 
340
			
-
 
341
			collectionCollectee.setPeriodeConstitution(periodeConstitutionChp.getValeur());
314
			collectionCollectee.setUrls(urlsChp.getValeurs());
Line 342... Line 315...
342
			collectionCollectee.setGroupementPrincipe(groupementPrincipeCombo.getValeur());
315
			
343
			collectionCollectee.setGroupementBut(butRealisationCombo.getValeur());
316
			collectionCollectee.setPeriodeConstitution(periodeConstitutionChp.getValeur());
344
			collectionCollectee.setCouvertureLieu(lieuCouvertureChp.getValeurs());
317
			collectionCollectee.setCouvertureLieu(lieuCouvertureChp.getValeurs());