Bug 121040 Patch for API changes in Team
I have cleaned up some API a bit which resulted in a change in a JDT class. I will attahc a patch that swithes to using a new method name.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationContentProvider.java
fModelRoot= JavaCore.create(ResourcesPlugin.getWorkspace().getRoot());
		return fModelRoot;
	}
	/**
	 * Returns the package fragment children in the current scope.
	 * 
	 * @param tree
	 *            the resource diff tree
	 * @param parent
	 *            the parent element
	 * @param children
	 *            the child elements
	 * @return the package fragment children
	 */
	private Object[] getPackageFragmentChildren(final IResourceDiffTree tree, final Object parent, final Object[] children) {
		final Set set= new HashSet();
		for (int index= 0; index < children.length; index++)
			set.add(children[index]);
		final IResource resource= ((IPackageFragment) parent).getResource();
		if (resource != null) {
			final IResource[] members= tree.members(resource);
			for (int index= 0; index < members.length; index++) {
				final IDiffNode node= tree.getDiff(members[index]);
				if (node != null) {
					if (members[index].getType() == IResource.FILE && isInScope(parent, members[index]))
						set.add(JavaCore.create(members[index]));
				}
			}
		}
		return set.toArray(new Object[set.size()]);