Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 125 Rev 128
Line 200... Line 200...
200
		centre.setHeight(panneauPrincipalObservation.getHeight());
200
		centre.setHeight(panneauPrincipalObservation.getHeight());
Line 201... Line 201...
201
 
201
 
202
		formulaireSaisieObservationVue.setBorder(false);
202
		formulaireSaisieObservationVue.setBorder(false);
Line 203... Line 203...
203
		conteneurFormulaire.add(formulaireSaisieObservationVue);
203
		conteneurFormulaire.add(formulaireSaisieObservationVue);
204
		
204
		
Line 205... Line 205...
205
		centre.add(conteneurFormulaire, new RowLayoutData(230));
205
		centre.add(conteneurFormulaire, new RowLayoutData(210));
206
		centre.add(listeObservation, new RowLayoutData());
206
		centre.add(listeObservation, new RowLayoutData());
207
 
207
 
Line 314... Line 314...
314
		observationModele.obtenirLiaisonImage(mvz, ordreObservation) ;
314
		observationModele.obtenirLiaisonImage(mvz, ordreObservation) ;
Line 315... Line 315...
315
 
315
 
Line -... Line 316...
-
 
316
 
-
 
317
	}
-
 
318
	
-
 
319
	public void obtenirImageInformationExternes(String numeroNomenclaturalSaisiObservation) {
-
 
320
		if(GWT.isScript()) {
-
 
321
			masquerChargementInfosObservations() ;
-
 
322
		}
-
 
323
		observationModele.obtenirImageInformationRepartition(informationRepartitionVue,numeroNomenclaturalSaisiObservation) ;
Line 316... Line 324...
316
 
324
		observationModele.obtenirImageGenerique(imageGeneriqueVue,numeroNomenclaturalSaisiObservation) ;
Line 317... Line 325...
317
	}
325
	}
Line 599... Line 607...
599
 
607
 
Line 600... Line 608...
600
 
608
 
601
	public void exporterObservations() {
-
 
602
		
609
	public void exporterObservations() {
Line 603... Line 610...
603
		observationModele.exporterObservations() ;
610
		
Line 631... Line 638...
631
		
638
		
Line 632... Line 639...
632
	}
639
	}
Line -... Line 640...
-
 
640
 
633
 
641
	public void supprimerObservations() {
634
	public void supprimerObservations() {
642
		
635
		
643
		if(listeObservation.getIdSelectionnees().length > 0) {
636
		if(Window.confirm("Êtes vous sur de vouloir supprimer les observations sélectionnées ?")) { 
644
			if(Window.confirm("Êtes vous sur de vouloir supprimer les observations sélectionnées ?")) { 
637
				String[] numObs = listeObservation.getIdSelectionnees();
645
					String[] numObs = listeObservation.getIdSelectionnees();
638
				String numObsapl = "" ;
646
					String numObsapl = "" ;
Line 639... Line 647...
639
				for(int i = 0 ; i < numObs.length ; i++) {
647
					for(int i = 0 ; i < numObs.length ; i++) {
640
					numObsapl += numObs[i]+"," ; 
648
						numObsapl += numObs[i]+"," ; 
-
 
649
					}
-
 
650
					
-
 
651
					observationModele.supprimerListeObservation(listeObservation,numObsapl) ;
-
 
652
			}
641
				}
653
		}
642
				
654
		else
Line 643... Line 655...
643
				observationModele.supprimerListeObservation(listeObservation,numObsapl) ;
655
		{
Line -... Line 656...
-
 
656
			Window.alert("Aucune observation sélectionnée");
644
			}
657
		}
645
		
658
	}
646
	}
659
 
647
 
660
 
648
 
661
	public void transmettreObservations() {
Line 658... Line 671...
658
				}
671
					}
659
			}
672
				}
Line 660... Line 673...
660
			
673
				
661
			observationModele.transmettreListeObservation(listeObservation,numObsApl) ;
674
				observationModele.transmettreListeObservation(listeObservation,numObsApl) ;
-
 
675
			}
-
 
676
		}
-
 
677
		else
-
 
678
		{
-
 
679
			Window.alert("Aucune observation sélectionnée");
Line 662... Line 680...
662
		}
680
		}
Line 663... Line 681...
663
		
681