Ignore:
Timestamp:
08/29/11 10:59:55 (14 years ago)
Author:
mcichenski
Message:

enable multiple files transfer with one popup window (test)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/java/gssim/gssimstudio/flex/app/editor/GSSimStudio.java

    r26 r38  
    15881588                                        log.debug("allFilesUploaded() " + e.getClass().getName()); 
    15891589                                } finally { 
    1590                                         final FileLocation tmpLocation = portalFileSystemManager.createDirLocation(tmpDir); 
    1591                                         log.debug("!!!!!" + tmpLocation.getUrl()); 
    1592                                         FileSet delSet = new FileLocationSet(new ArrayList<FileLocation>() { 
    1593                                                 { 
    1594                                                         add(tmpLocation); 
    1595                                                 } 
    1596                                         }); 
    1597                                         TaskMonitor delMon = portalFileSystemManager.delete(delSet, TaskOptions.block()); 
    1598                                         if (delMon.completed()) { 
    1599                                                 log.debug("!!!!! tmp dir was deleted"); 
    1600                                         } else { 
    1601                                                 log.debug("!!!!! tmp dir was NOT deleted"); 
    1602                                         } 
     1590                                         
    16031591 
    16041592                                } 
     
    16081596                } 
    16091597            } 
     1598            //transfer more than 1 file with one shot! 
     1599            final FileLocation tmpLocation = portalFileSystemManager.createDirLocation(tmpDir); 
     1600                        log.debug("!!!!!" + tmpLocation.getUrl()); 
     1601                        FileSet delSet = new FileLocationSet(new ArrayList<FileLocation>() { 
     1602                                { 
     1603                                        add(tmpLocation); 
     1604                                } 
     1605                        }); 
     1606                        TaskMonitor delMon = portalFileSystemManager.delete(delSet, TaskOptions.block()); 
     1607                        if (delMon.completed()) { 
     1608                                log.debug("!!!!! tmp dir was deleted"); 
     1609                        } else { 
     1610                                log.debug("!!!!! tmp dir was NOT deleted"); 
     1611                        } 
     1612             
    16101613        } 
    16111614        ///MOJE 
Note: See TracChangeset for help on using the changeset viewer.