public IProject[] addToWorkspace(String[] referenceStrings,ProjectSetSerializationContext context,IProgressMonitor monitor) throws TeamException {
  monitor=Policy.monitorFor(monitor);
  Policy.checkCanceled(monitor);
  Map<IProject,LoadInfo> infoMap=new HashMap<IProject,SVNProjectSetCapability.LoadInfo>(referenceStrings.length);
  IProject[] projects=asProjects(context,referenceStrings,infoMap);
  projects=confirmOverwrite(context,projects);
  if (projects == null) {
    return new IProject[0];
  }
  try {
    return checkout(projects,infoMap,monitor);
  }
 catch (  MalformedURLException e) {
    throw SVNException.wrapException(e);
  }
}

public IProject [ ] addToWorkspace ( String [ ] referenceStrings , ProjectSetSerializationContext context , IProgressMonitor monitor ) throws TeamException { monitor = Policy . monitorFor ( monitor ) ; Policy . checkCanceled ( monitor ) ; Map < IProject , LoadInfo > infoMap = new HashMap < IProject , SVNProjectSetCapability . LoadInfo > ( referenceStrings . length ) ; IProject [ ] projects = asProjects ( context , referenceStrings , infoMap ) ; projects = confirmOverwrite ( context , projects ) ; if ( projects == null ) { return new IProject [ 0 ] ; } try { return checkout ( projects , infoMap , monitor ) ; } catch ( MalformedURLException e ) { throw SVNException . wrapException ( e ) ; } }
override superclass implementation to load the referenced projects into the workspace .
