Bug 124669 React to change in Team Compare UI
I have refactored the ICompareAdapter so that it no longer provides the strucutre and content compare views. Instead, clients should register their viewers by either extension (ITypedElement#getType()) or content type. The class AbstractRefactoringCompareAdapter has a findContentViewer that should be removed. The way to get the viewer now is to register an IViewerCreator with the org.eclipse.compare.contentMergeViewer extension point.
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/model/AbstractRefactoringCompareAdapter.java
return new RefactoringDescriptorCompareInput((RefactoringDescriptorProxy) element, getKind(context, (RefactoringDescriptorProxy) element));
		return super.asCompareInput(context, element);
	}
	/**
	 * {@inheritDoc}
	 */
	public Viewer findContentViewer(final Composite parent, final Viewer viewer, final ICompareInput input, final CompareConfiguration configuration) {
		if (input instanceof RefactoringDescriptorCompareInput)
			return new RefactoringDescriptorCompareViewer(parent, SWT.NONE);
		return super.findContentViewer(parent, viewer, input, configuration);
	}
	/**
	 * Returns the kind of difference between the three sides ancestor, left and
	 * right of the specified refactoring descriptor proxy.
	 * <p>
	 * The result of this method is used to compose an icon which reflects the
	 * kind of difference between the two or three versions of the refactoring
	 * descriptor.
	 * </p>
	 * 
	 * @param context
	 *            the synchronization context
	 * @param proxy
	 *            the refactoring descriptor proxy
	 * @return the kind of difference
	 * 
	 * @see ICompareInput#getKind()
	 */
	protected abstract int getKind(ISynchronizationContext context, RefactoringDescriptorProxy proxy);
}