Bug 207366 Circular dependancy introduced by bug 206064
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RenameResourceAction.java
private IResource getCurrentResource() {
		List resources = getSelectedResources();
		if (resources.size() == 1) {
			return (IResource) resources.get(0);
		}
		return null;
	}
	/**
	 * The <code>RenameResourceAction</code> implementation of this
	 * <code>SelectionListenerAction</code> method ensures that this action is
	 * disabled if any of the selections are not resources or resources that are
	 * not local.
	 */
	protected boolean updateSelection(IStructuredSelection selection) {
		if (selection.size() > 1) {
			return false;
		}
		if (!super.updateSelection(selection)) {
			return false;
		}
		IResource currentResource = getCurrentResource();
		if (currentResource == null || !currentResource.exists()) {
			return false;
		}
		return true;
	}
	/**
	 * Set the text action handler.
	 * 
	 * @param actionHandler