From: Martin S. <sch...@us...> - 2005-05-11 15:45:19
|
Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/controller In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14302/src/net/sf/magicmap/client/controller Modified Files: VirtualServerManager.java Log Message: + wsdl2java via ant-task + string[] replaced +axis 1.2 (final) Index: VirtualServerManager.java =================================================================== RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/controller/VirtualServerManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** VirtualServerManager.java 11 May 2005 10:51:27 -0000 1.1 --- VirtualServerManager.java 11 May 2005 15:45:01 -0000 1.2 *************** *** 6,9 **** --- 6,11 ---- package net.sf.magicmap.client.controller; + import java.util.ArrayList; + import net.sf.magicmap.client.interfaces.CreateNewMapCallback; import net.sf.magicmap.client.interfaces.CreatePositionCallback; *************** *** 23,26 **** --- 25,29 ---- import net.sf.magicmap.server.dto.PositionDTO; import net.sf.magicmap.server.dto.SignalCharacterDTO; + import net.sf.magicmap.server.dto.StringReplacementDTO; import net.sf.magicmap.server.facade.MapFacade; import net.sf.magicmap.server.facade.PositionFacade; *************** *** 151,155 **** synchronized (mutex){ try{ ! String[] names = mapFacade.getMapNames(); callback.mapNamesReceived(names); } catch (Exception e){ --- 154,167 ---- synchronized (mutex){ try{ ! ! ArrayList result = new ArrayList(); ! StringReplacementDTO[] wrappedStrings = mapFacade.getMapNames(); ! if (wrappedStrings != null){ ! for (int i = 0; i < wrappedStrings.length; i++){ ! result.add(wrappedStrings[i].getWrappedString()); ! } ! } ! String[] names = (String[]) result.toArray(new String[0]); ! callback.mapNamesReceived(names); } catch (Exception e){ *************** *** 369,373 **** */ public void positionCreatedOrUpdatedOrDeleted(String mapName, long timeStamp, PositionDTO position){ ! // TODO Auto-generated method stub } --- 381,385 ---- */ public void positionCreatedOrUpdatedOrDeleted(String mapName, long timeStamp, PositionDTO position){ ! // TODO Auto-generated method stub } *************** *** 413,417 **** */ public void reloadMap(){ ! // TODO Auto-generated method stub } --- 425,429 ---- */ public void reloadMap(){ ! // TODO Auto-generated method stub } *************** *** 421,425 **** */ public void closeMap(){ ! // TODO Auto-generated method stub } --- 433,437 ---- */ public void closeMap(){ ! // TODO Auto-generated method stub } |