Subversion Repositories eFlore/Applications.cel

Rev

Rev 92 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 92 Rev 94
Line 11... Line 11...
11
import org.tela_botanica.client.vues.ArbreEntiteGeographiqueObservationFiltreVue;
11
import org.tela_botanica.client.vues.ArbreEntiteGeographiqueObservationFiltreVue;
12
import org.tela_botanica.client.vues.FormulaireSaisieObservationVue;
12
import org.tela_botanica.client.vues.FormulaireSaisieObservationVue;
13
import org.tela_botanica.client.vues.ImageGeneriqueVue;
13
import org.tela_botanica.client.vues.ImageGeneriqueVue;
14
import org.tela_botanica.client.vues.InformationRepartitionVue;
14
import org.tela_botanica.client.vues.InformationRepartitionVue;
15
import org.tela_botanica.client.vues.ListeObservationVue;
15
import org.tela_botanica.client.vues.ListeObservationVue;
-
 
16
import org.tela_botanica.client.vues.MiniZoomImageVue;
16
import org.tela_botanica.client.vues.PanneauFiltresObservationVues;
17
import org.tela_botanica.client.vues.PanneauFiltresObservationVues;
Line 17... Line 18...
17
 
18
 
18
import com.google.gwt.core.client.GWT;
19
import com.google.gwt.core.client.GWT;
19
import com.google.gwt.user.client.Window;
20
import com.google.gwt.user.client.Window;
Line 126... Line 127...
126
  	 * 
127
  	 * 
127
  	 */
128
  	 */
Line 128... Line 129...
128
  	
129
  	
Line -... Line 130...
-
 
130
  	private ImageGeneriqueVue imageGeneriqueVue=null;
-
 
131
  	
Line 129... Line 132...
129
  	private ImageGeneriqueVue imageGeneriqueVue=null;
132
  	private MiniZoomImageVue mvz = null ;
130
  	
133
  	
131
  	
134
  	
Line 209... Line 212...
209
		// TODO : calcul de la hauteur automatique par le panel ?
212
		// TODO : calcul de la hauteur automatique par le panel ?
Line 210... Line 213...
210
		
213
		
211
		imageGeneriqueVue.setHeight(160);
214
		imageGeneriqueVue.setHeight(160);
Line -... Line 215...
-
 
215
		details.add(imageGeneriqueVue);
-
 
216
		
-
 
217
		mvz = new MiniZoomImageVue(this) ; 
-
 
218
		mvz.setHeight(300) ;
Line 212... Line 219...
212
		details.add(imageGeneriqueVue);
219
		
213
		
220
		details.add(mvz) ;	
Line 214... Line 221...
214
		
221
		
Line 292... Line 299...
292
 
299
 
Line 293... Line 300...
293
		// Affichage de l'image correspondante
300
		// Affichage de l'image correspondante
Line -... Line 301...
-
 
301
				
-
 
302
		observationModele.obtenirImageGenerique(imageGeneriqueVue,numeroNomenclaturalSaisiObservation) ;
Line 294... Line 303...
294
				
303
		
Line 321... Line 330...
321
	
330
	
322
		
331
		
323
	  // On raffraichi la liste d'observation 
332
	  // On raffraichi la liste d'observation 
-
 
333
	  observationModele.ajouterObservation(listeObservation, obs) ;
Line 324... Line 334...
324
	  observationModele.ajouterObservation(listeObservation, obs) ;
334
	  filtres.getArbreEntiteGeographiqueObservationFiltreVue().rafraichir(obs,true) ;
Line 397... Line 407...
397
	
407
	
Line -... Line 408...
-
 
408
	
398
	
409
	// D du CRUD
399
	// D du CRUD
410
	
400
	
411
	
401
	
412
	
402
	/**
413
	/**
Line 416... Line 427...
416
			}
427
			}
417
		}
428
		}
Line 418... Line 429...
418
		
429
		
Line 419... Line -...
419
	}
-
 
420
	
-
 
421
	
-
 
422
	
-
 
423
	
430
	}
424
 
-
 
425
	// Assistants de saisie
431
	
426
	
432
	// Assistants de saisie
427
	/**
433
	/**
428
	 *  
434
	 *  
429
	 * Lance un appel de recherche d'une liste de commune correspondant aux criteres de selectionne 
435
	 * Lance un appel de recherche d'une liste de commune correspondant aux criteres de selectionne 
Line 448... Line 454...
448
	 */
454
	 */
Line 449... Line 455...
449
	
455
	
Line 450... Line 456...
450
	public void obtenirListeReferentielNom(Rafraichissable r, String critere) {
456
	public void obtenirListeReferentielNom(Rafraichissable r, String critere) {
451
		
-
 
452
		observationModele.obtenirListeReferentielNom(r,critere) ;
-
 
453
 
457
 
Line 454... Line 458...
454
		
458
		observationModele.obtenirListeReferentielNom(r,critere) ;		
Line 455... Line 459...
455
	}
459
	}
Line 477... Line 481...
477
			String[] nomsFiltres = chaineNomsFiltres.split(",") ;
481
			String[] nomsFiltres = chaineNomsFiltres.split(",") ;
478
			String[] valsFiltres = chaineValFiltres.split(",") ;
482
			String[] valsFiltres = chaineValFiltres.split(",") ;
Line 479... Line 483...
479
			
483
			
Line -... Line 484...
-
 
484
			String [][] valeursFiltres = new String[nomsFiltres.length][2] ;
-
 
485
			
Line 480... Line 486...
480
			String [][] valeursFiltres = new String[nomsFiltres.length][2] ;
486
			listeObservation.afficherFiltres(chaineValFiltresGeo, chaineValFiltresDate) ;
481
 
487
 
Line 482... Line 488...
482
			
488