1 11 package org.eclipse.team.core.mapping; 12 13 import org.eclipse.core.resources.IResource; 14 import org.eclipse.core.resources.mapping.ResourceMapping; 15 import org.eclipse.core.resources.mapping.ResourceTraversal; 16 import org.eclipse.core.runtime.CoreException; 17 import org.eclipse.core.runtime.IProgressMonitor; 18 import org.eclipse.core.runtime.jobs.IJobManager; 19 import org.eclipse.team.core.ICache; 20 import org.eclipse.team.core.diff.*; 21 import org.eclipse.team.core.mapping.provider.MergeContext; 22 import org.eclipse.team.core.mapping.provider.SynchronizationContext; 23 24 61 public interface ISynchronizationContext { 62 63 67 public final static int TWO_WAY = 2; 68 69 73 public final static int THREE_WAY = 3; 74 75 83 ISynchronizationScope getScope(); 84 85 105 public IResourceDiffTree getDiffTree(); 106 107 121 public int getType(); 122 123 132 public ICache getCache(); 133 134 138 public void dispose(); 139 140 177 public void refresh(ResourceTraversal[] traversals, int flags, 178 IProgressMonitor monitor) throws CoreException; 179 180 202 public void refresh(ResourceMapping[] mappings, IProgressMonitor monitor) 203 throws CoreException; 204 205 } 206 | Popular Tags |