1 11 package org.eclipse.core.resources.team; 12 13 import org.eclipse.core.resources.*; 14 import org.eclipse.core.runtime.IProgressMonitor; 15 import org.eclipse.core.runtime.IStatus; 16 17 27 public interface IResourceTree { 28 29 34 public static final long NULL_TIMESTAMP = 0L; 35 36 48 public void addToLocalHistory(IFile file); 49 50 62 public boolean isSynchronized(IResource resource, int depth); 63 64 84 public long computeTimestamp(IFile file); 85 86 104 public long getTimestamp(IFile file); 105 106 135 public void updateMovedFileTimestamp(IFile file, long timestamp); 136 137 145 public void failed(IStatus reason); 146 147 159 public void deletedFile(IFile file); 160 161 174 public void deletedFolder(IFolder folder); 175 176 191 public void deletedProject(IProject project); 192 193 212 public void movedFile(IFile source, IFile destination); 213 214 233 public void movedFolderSubtree(IFolder source, IFolder destination); 234 235 260 public boolean movedProjectSubtree(IProject source, IProjectDescription description); 261 262 280 public void standardDeleteFile(IFile file, int updateFlags, IProgressMonitor monitor); 281 282 300 public void standardDeleteFolder(IFolder folder, int updateFlags, IProgressMonitor monitor); 301 302 320 public void standardDeleteProject(IProject project, int updateFlags, IProgressMonitor monitor); 321 322 342 public void standardMoveFile(IFile source, IFile destination, int updateFlags, IProgressMonitor monitor); 343 344 364 public void standardMoveFolder(IFolder source, IFolder destination, int updateFlags, IProgressMonitor monitor); 365 366 384 public void standardMoveProject(IProject source, IProjectDescription description, int updateFlags, IProgressMonitor monitor); 385 } 386 | Popular Tags |