1 11 package org.eclipse.team.core.mapping; 12 13 import org.eclipse.core.resources.*; 14 import org.eclipse.core.runtime.*; 15 import org.eclipse.core.runtime.jobs.IJobManager; 16 import org.eclipse.core.runtime.jobs.ISchedulingRule; 17 import org.eclipse.team.core.diff.*; 18 import org.eclipse.team.core.mapping.provider.MergeContext; 19 20 45 public interface IMergeContext extends ISynchronizationContext { 46 47 60 public int getMergeType(); 61 62 95 public void markAsMerged(IDiff node, boolean inSyncHint, 96 IProgressMonitor monitor) throws CoreException; 97 98 119 public void markAsMerged(IDiff[] nodes, boolean inSyncHint, 120 IProgressMonitor monitor) throws CoreException; 121 122 256 public IStatus merge(IDiff diff, boolean ignoreLocalChanges, IProgressMonitor monitor) 257 throws CoreException; 258 259 283 public IStatus merge(IDiff[] diffs, boolean ignoreLocalChanges, 284 IProgressMonitor monitor) throws CoreException; 285 286 298 public void reject(IDiff diff, IProgressMonitor monitor) throws CoreException; 299 300 308 public void reject(IDiff[] diffs, IProgressMonitor monitor) throws CoreException; 309 310 326 public void run(IWorkspaceRunnable runnable, ISchedulingRule rule, 327 int flags, IProgressMonitor monitor) throws CoreException; 328 329 341 public ISchedulingRule getMergeRule(IDiff diff); 342 343 355 public ISchedulingRule getMergeRule(IDiff[] diffs); 356 357 } 358 | Popular Tags |