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
*/
	private boolean hasChildrenInScope(final Object element, final IResource resource) {
		final IResource[] roots= getScope().getRoots();
		if (element instanceof IPackageFragment) {
			for (int index= 0; index < roots.length; index++)
				if (resource.getFullPath().equals((roots[index].getFullPath().removeLastSegments(1))))
					return true;
			return false;
		}
		for (int index= 0; index < roots.length; index++) {
			if (resource.getFullPath().isPrefixOf(roots[index].getFullPath()))
				return true;
		}
		return false;
	}
	/**
	 * {@inheritDoc}
	 */
	protected boolean isInScope(final Object parent, final Object element) {
		final IResource resource= JavaModelProvider.getResource(element);
		if (resource == null)
			return false;
		if (getScope().contains(resource))
			return true;
		if (hasChildrenInScope(element, resource))
			return true;
		return false;
	}
}