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/JavaSynchronizationLabelProvider.java
protected ILabelProvider getDelegateLabelProvider() {
		if (fLabelProvider == null)
			fLabelProvider= new JavaModelLabelProvider(ModelMessages.JavaModelLabelProvider_project_preferences_label, ModelMessages.JavaModelLabelProvider_refactorings_label);
		return fLabelProvider;
	}
	/**
	 * {@inheritDoc}
	 */
	protected Object getModelRoot() {
		if (fModelRoot == null)
			fModelRoot= JavaCore.create(ResourcesPlugin.getWorkspace().getRoot());
		return fModelRoot;
	}
	/**
	 * {@inheritDoc}
	 */
	protected IDiffNode getSyncDelta(final Object element) {
		final ISynchronizationContext context= getContext();
		final IResource resource= JavaModelProvider.getResource(element);
		if (context != null && resource != null) {
			final IDiffNode[] deltas= JavaSynchronizationContentProvider.getDeltas(context, element);
			for (int index= 0; index < deltas.length; index++) {
				if (context.getDiffTree().getResource(deltas[index]).equals(resource))
					return deltas[index];
			}
		}
		return null;
	}
}