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/internal/ui/refactoring/model/RefactoringDescriptorCompareInput.java
return TYPE_REFACTORING;
		}
	}
	
	private static boolean fImageRegistered= false;
	
	private static final String TYPE_REFACTORING= "refactoring"; 
	
	private final RefactoringDescriptorProxy fDescriptor;
	
	private final int fKind;
	/**
	 * Creates a new refactoring descriptor compare input.
	 * 
	 * @param descriptor
	 *            the refactoring descriptor
	 * @param kind the differencer kind
	 */
	public RefactoringDescriptorCompareInput(final RefactoringDescriptorProxy descriptor, final int kind) {
		Assert.isNotNull(descriptor);
		fDescriptor= descriptor;
		fKind= kind;
		if (!fImageRegistered) {
			CompareUI.registerImageDescriptor(TYPE_REFACTORING, RefactoringPluginImages.DESC_OBJS_REFACTORING);
			fImageRegistered= true;
		}
	}
	/**
	 * {@inheritDoc}
	 */