Changeset 10682

Show
Ignore:
Timestamp:
04.10.2005 15:57:04 (14 years ago)
Author:
chi
Message:

Problems solving of long-delay to drag a tree structure in Gather Pane. This happens when GLI compile with Java 1.5. If the size of tree directory dragged is large, it will take ages to copy the files over.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/file/FileSystemModel.java

    r8783 r10682  
    4747    /** Retrieve the node denoted by the given tree path. Note that this isn't equivelent to saying path.lastPathComponent, as the references within the path may be stale. */ 
    4848    public FileNode getNode(TreePath path) { 
     49    FileNode last = (FileNode)path.getLastPathComponent(); 
     50    DebugStream.println("Last Path Component = " + last); 
     51    return last; 
     52    /* 
    4953    ///atherer.println("**** getNode(" + path + ") ****"); 
    5054    FileNode current = (FileNode)root; 
     
    99103    } 
    100104    return current; 
     105    */ 
    101106    } 
    102107