From: Johannes Z. <jza...@us...> - 2006-02-23 17:01:58
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/delegate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7758/src/net/sf/magicmap/client/delegate Modified Files: MapDelegate.java Log Message: implemented routines for geo positions Index: MapDelegate.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/delegate/MapDelegate.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** MapDelegate.java 20 Feb 2006 15:18:28 -0000 1.5 --- MapDelegate.java 23 Feb 2006 17:01:43 -0000 1.6 *************** *** 93,109 **** } ! public GeoPointDTO[] getGeoPointsForMap(long sessionId, String mapName) throws MapException, SessionException, RemoteException{ ! // TODO Auto-generated method stub ! return null; } public MapDTO createGeoPoint(long sessionId, String mapName, int xPos, int yPos, int longitude, int latitude, int altitude) throws SessionException, MapException, RemoteException{ ! // TODO Auto-generated method stub ! return null; } public void deleteGeoPoint(long sessionId, long id) throws MapException, SessionException, RemoteException{ ! // TODO Auto-generated method stub ! } --- 93,118 ---- } ! public GeoPointDTO[] getGeoPointsForMap(long sessionId, String mapName) throws MapException, SessionException, RemoteException { ! try { ! return this.binding.getGeoPointsForMap(sessionId, mapName); ! } catch (Exception e) { ! throw ExceptionHandler.checkException(e); ! } } public MapDTO createGeoPoint(long sessionId, String mapName, int xPos, int yPos, int longitude, int latitude, int altitude) throws SessionException, MapException, RemoteException{ ! try { ! return this.binding.createGeoPoint(sessionId, mapName, xPos, yPos, longitude, latitude, altitude); ! } catch (Exception e) { ! throw ExceptionHandler.checkException(e); ! } } public void deleteGeoPoint(long sessionId, long id) throws MapException, SessionException, RemoteException{ ! try { ! this.deleteGeoPoint(sessionId, id); ! } catch (Exception e) { ! throw ExceptionHandler.checkException(e); ! } } |