Package share.folder.tree.node

Examples of share.folder.tree.node.AbstractFolderTreeNode


  public void changeFolder(String oldPath, String newPath)
  {
    Folder oldFolder = new Folder(oldPath);
    for (int i = 0; i < treeManager.getTreeRoots().size(); i++)
    {
      AbstractFolderTreeNode node = treeManager.getTreeRoots().get(i);
      if (node.getFolder().equals(oldFolder))
      {
        Folder newFolder = new Folder(newPath);
        sharedFolderTableModel.changeFolder(oldFolder, newFolder);

        treeManager.removeFolder(oldFolder);
        treeManager.addFolder(newFolder, !node.includesSubfolders());

        return;
      }
    }
  }
View Full Code Here

TOP

Related Classes of share.folder.tree.node.AbstractFolderTreeNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.