1 11 package org.eclipse.team.core.mapping; 12 13 import java.io.OutputStream ; 14 15 import org.eclipse.core.resources.IEncodedStorage; 16 import org.eclipse.core.resources.IStorage; 17 import org.eclipse.core.runtime.*; 18 19 29 public interface IStorageMerger { 30 31 34 public static final int OK= IStatus.OK; 35 36 39 public static final int CONFLICT= 1; 40 41 44 public static final int INTERNAL_ERROR= 2; 45 46 49 public static final int UNSUPPORTED_ENCODING= 3; 50 51 71 IStatus merge(OutputStream output, String outputEncoding, 72 IStorage ancestor, IStorage target, IStorage other, 73 IProgressMonitor monitor) throws CoreException; 74 75 83 boolean canMergeWithoutAncestor(); 84 85 } 86 | Popular Tags |