1 11 package org.eclipse.team.core.mapping.provider; 12 13 import org.eclipse.core.resources.IFile; 14 import org.eclipse.core.resources.mapping.ResourceMapping; 15 import org.eclipse.core.runtime.IStatus; 16 import org.eclipse.core.runtime.Status; 17 import org.eclipse.team.core.mapping.IMergeStatus; 18 19 32 public class MergeStatus extends Status implements IMergeStatus { 33 34 private ResourceMapping[] conflictingMappings; 35 private IFile[] conflictingFiles; 36 37 44 public MergeStatus(String pluginId, String message, ResourceMapping[] conflictingMappings) { 45 super(IStatus.ERROR, pluginId, CONFLICTS, message, null); 46 this.conflictingMappings = conflictingMappings; 47 } 48 49 56 public MergeStatus(String pluginId, String message, IFile[] files) { 57 super(IStatus.ERROR, pluginId, CONFLICTS, message, null); 58 this.conflictingFiles = files; 59 } 60 61 64 public ResourceMapping[] getConflictingMappings() { 65 return conflictingMappings; 66 } 67 68 71 public IFile[] getConflictingFiles() { 72 return conflictingFiles; 73 } 74 } 75 | Popular Tags |