public WorkingCopyDuplicatePartRequestor(IProject project, String packageName, IFile file) {
    this.file = file;
    this.packageName = packageName;
    this.duplicatePartsList =
        WorkingCopyDuplicatePartManager.getInstance().getDuplicatePartList(project);

    duplicatePartsList.remove(file);
  }
 public void acceptDuplicatePart(String caseInsensitivePartName) {
   duplicatePartsList.addDuplicatePart(packageName, caseInsensitivePartName, file);
 }