Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1735 Rev 1958
Line 28... Line 28...
28
import org.tela_botanica.client.modeles.objets.Observation;
28
import org.tela_botanica.client.modeles.objets.Observation;
29
import org.tela_botanica.client.modeles.objets.Utilisateur;
29
import org.tela_botanica.client.modeles.objets.Utilisateur;
30
import org.tela_botanica.client.modeles.objets.ListeReferentielPerso.TypesReferentiels;
30
import org.tela_botanica.client.modeles.objets.ListeReferentielPerso.TypesReferentiels;
31
import com.google.gwt.json.client.JSONArray;
31
import com.google.gwt.json.client.JSONArray;
32
import com.google.gwt.json.client.JSONObject;
32
import com.google.gwt.json.client.JSONObject;
33
import com.google.gwt.maps.client.geom.LatLng;
-
 
34
import com.gwtext.client.data.Node;
33
import com.gwtext.client.data.Node;
35
import com.gwtext.client.data.Tree;
34
import com.gwtext.client.data.Tree;
36
import com.gwtext.client.widgets.tree.TreeNode;
35
import com.gwtext.client.widgets.tree.TreeNode;
Line 735... Line 734...
735
	public void obtenirInformationCommune(Rafraichissable r, String nomCommune, String codePostal) {
734
	public void obtenirInformationCommune(Rafraichissable r, String nomCommune, String codePostal) {
736
		InformationCommuneDAO infocommune = new InformationCommuneDAO(r);
735
		InformationCommuneDAO infocommune = new InformationCommuneDAO(r);
737
		infocommune.obtenirInfosCommune(r, nomCommune, codePostal);
736
		infocommune.obtenirInfosCommune(r, nomCommune, codePostal);
738
	}
737
	}
Line 739... Line 738...
739
	
738
	
740
	public void obtenirInformationCoord(Rafraichissable r, LatLng coord) {
739
	public void obtenirInformationCoord(Rafraichissable r, double lat, double lng) {
741
		InformationCommuneDAO infocommune = new InformationCommuneDAO(r);
740
		InformationCommuneDAO infocommune = new InformationCommuneDAO(r);
742
		infocommune.obtenirCommunePlusProche(r, coord.getLongitude(), coord.getLatitude());
741
		infocommune.obtenirCommunePlusProche(r, lng, lat);
743
	}
742
	}