Package org.eclipse.core.filesystem.provider

Examples of org.eclipse.core.filesystem.provider.FileInfo


  }

  IFileInfo fetchInfo(IPath path, int options) {
    CommonNode node = find(path);
    if (node == null) {
      FileInfo fileInfo = new FileInfo(path.lastSegment());
      fileInfo.setExists(false);
      return fileInfo;
    } else {
      return node.info;
    }
  }
View Full Code Here


    final CommonNode parent;

    CommonNode(IPath path, FolderNode parent, boolean isDirectory) {
      this.path = path;
      this.parent = parent;
      this.info = new FileInfo(path.lastSegment());
      this.info.setDirectory(isDirectory);
      this.info.setExists(true);
      if (parent != null) {
        parent.add(this);
      }
View Full Code Here

      for (Iterator children = node.getChildren(); children.hasNext();)
        recursiveKeepHistory(store, (UnifiedTreeNode) children.next());
    } else {
      IFileInfo info = node.fileInfo;
      if (info == null)
        info = new FileInfo(node.getLocalName());
      store.addState(target.getFullPath(), node.getStore(), info, true);
    }
    monitor.worked(1);
    ticks--;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.core.filesystem.provider.FileInfo

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.