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
final String name= proxies[index].getProject();
			if (name != null && !"".equals(name)) 
				set.add(root.getProject(name));
			else
				return null;
		}
		final IProject[] projects= new IProject[set.size()];
		set.toArray(projects);
		return projects;
	}
	/**
	 * Return a shell that can be used by the operation to display dialogs, etc.
	 * 
	 * @return a shell
	 */
	private static Shell getDialogShell() {
		final Shell[] shell= new Shell[] { null };
		Display.getDefault().syncExec(new Runnable() {
			public final void run() {
				shell[0]= getActiveShell();
			}
		});
		return shell[0];
	}
	/**
	 * Returns the incoming refactoring history from the sync info tree.
	 * 
	 * @param tree
	 *            the sync info tree
	 * @param monitor