13,6 → 13,7 |
import org.tela_botanica.client.vues.ImageGeneriqueVue; |
import org.tela_botanica.client.vues.InformationRepartitionVue; |
import org.tela_botanica.client.vues.ListeObservationVue; |
import org.tela_botanica.client.vues.MiniZoomImageVue; |
import org.tela_botanica.client.vues.PanneauFiltresObservationVues; |
|
import com.google.gwt.core.client.GWT; |
128,7 → 129,9 |
|
private ImageGeneriqueVue imageGeneriqueVue=null; |
|
private MiniZoomImageVue mvz = null ; |
|
|
/** |
* constructeur privé (on accède a la classe par la méthode getInstance |
*/ |
211,7 → 214,11 |
imageGeneriqueVue.setHeight(160); |
details.add(imageGeneriqueVue); |
|
mvz = new MiniZoomImageVue(this) ; |
mvz.setHeight(300) ; |
|
details.add(mvz) ; |
|
// on crée le panneau des filtres |
filtres = new PanneauFiltresObservationVues(this); |
|
293,6 → 300,8 |
// Affichage de l'image correspondante |
|
observationModele.obtenirImageGenerique(imageGeneriqueVue,numeroNomenclaturalSaisiObservation) ; |
|
observationModele.obtenirLiaisonImage(mvz, ordreObservation) ; |
|
|
} |
323,6 → 332,7 |
// On raffraichi la liste d'observation |
observationModele.ajouterObservation(listeObservation, obs) ; |
filtres.getArbreEntiteGeographiqueObservationFiltreVue().rafraichir(obs,true) ; |
filtres.getArbreDateObservationFiltreVue().rafraichir(obs,true) ; |
|
} |
|
399,6 → 409,7 |
// D du CRUD |
|
|
|
/** |
* TODO : afficher un message du type "observation modifie". |
* Lance la modification d'une observation |
418,12 → 429,7 |
|
} |
|
|
|
|
|
// Assistants de saisie |
|
/** |
* |
* Lance un appel de recherche d'une liste de commune correspondant aux criteres de selectionne |
448,10 → 454,8 |
*/ |
|
public void obtenirListeReferentielNom(Rafraichissable r, String critere) { |
|
observationModele.obtenirListeReferentielNom(r,critere) ; |
|
|
observationModele.obtenirListeReferentielNom(r,critere) ; |
} |
|
// Etat du syteme |
478,6 → 482,8 |
String[] valsFiltres = chaineValFiltres.split(",") ; |
|
String [][] valeursFiltres = new String[nomsFiltres.length][2] ; |
|
listeObservation.afficherFiltres(chaineValFiltresGeo, chaineValFiltresDate) ; |
|
|
if(nomsFiltres.length > 0) |