Bug 119316 Changes in Logical Model support classes
I have dne some refactoring of the Team logical model support classes. Basically, I have moved several class from Team UI to Team Core. I have left stubs in Team UI so that LTK and JDT UI compile but they will not work until they are refactored to use the Core classes. I have also added an abstract class, ResourceMappingMerger, for IResourceMappingMerger. The LTK/JDT merger should subclass this.
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/model/AbstractRefactoringModelMerger.java
monitor.beginTask(RefactoringUIMessages.RefactoringModelMerger_merge_message, 220);
			final SyncInfoTree tree= getSyncInfoTree(context, new SubProgressMonitor(monitor, 20));
			final RefactoringHistory history= getRefactoringHistory(tree, new SubProgressMonitor(monitor, 100));
			if (history != null && !history.isEmpty()) {
				boolean execute= true;
				final IProject[] projects= getAffectedScope(history);
				if (projects != null) {
					final IProject[] dependencies= getDependentProjects(projects);
					if (dependencies.length == 0)
						execute= false;
				}
				if (execute) {
					final Shell shell= getDialogShell();
					shell.getDisplay().syncExec(new Runnable() {
						public final void run() {
							final RefactoringHistoryWizard wizard= new RefactoringHistoryWizard(RefactoringUIMessages.RefactoringWizard_title, RefactoringUIMessages.RefactoringHistoryOverviewPage_title, RefactoringUIMessages.RefactoringHistoryOverviewPage_description);
							wizard.setInput(history);
							wizard.setConfiguration(new RefactoringHistoryPreviewConfiguration((projects != null && projects.length == 1) ? projects[0] : null, true));
							new WizardDialog(shell, wizard).open();
						}
					});
				}
			}
			return createMergeStatus(context, context.merge(tree, new SubProgressMonitor(monitor, 100)));
		} finally {
			monitor.done();
		}
	}
}