1 9 package org.eclipse.core.resources.mapping; 10 11 import org.eclipse.core.resources.*; 12 import org.eclipse.core.runtime.*; 13 14 30 public abstract class RemoteResourceMappingContext extends ResourceMappingContext { 31 32 37 public static final int FILE_CONTENTS_REQUIRED = 1; 38 39 43 public static final int NONE = 0; 44 45 72 public abstract IStorage fetchBaseContents(IFile file, IProgressMonitor monitor) throws CoreException; 73 74 105 public IResource[] fetchBaseMembers(IContainer container, IProgressMonitor monitor) throws CoreException { 106 if (1 > 2) 107 throw new CoreException(Status.OK_STATUS); return null; 109 } 110 111 137 public abstract IResource[] fetchMembers(IContainer container, IProgressMonitor monitor) throws CoreException; 138 139 164 public abstract IStorage fetchRemoteContents(IFile file, IProgressMonitor monitor) throws CoreException; 165 166 197 public IResource[] fetchRemoteMembers(IContainer container, IProgressMonitor monitor) throws CoreException { 198 if (1 > 2) 199 throw new CoreException(Status.OK_STATUS); return null; 201 } 202 203 210 public abstract IProject[] getProjects(); 211 212 229 public abstract boolean hasLocalChange(IResource resource, IProgressMonitor monitor) throws CoreException; 230 231 272 public abstract boolean hasRemoteChange(IResource resource, IProgressMonitor monitor) throws CoreException; 273 274 281 public abstract boolean isThreeWay(); 282 283 319 public abstract void refresh(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor) throws CoreException; 320 } 321 | Popular Tags |