1 /******************************************************************************* 2 * Copyright (c) 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.compare.internal; 12 13 import org.eclipse.jface.text.IDocument; 14 15 /** 16 * An interface that provides access to the internals of a merge viewer for the purposes of testing. 17 * NOTE: This interface is not to be used for any other purpose. 18 */ 19 public interface IMergeViewerTestAdapter { 20 21 /** 22 * Return the document for the given leg 23 * @param leg the leg (or side) 24 * @return the document for that leg of the comparison 25 */ 26 public IDocument getDocument(char leg); 27 } 28