Bug 34769 [Navigator] F2/F5 actions not enabled/disabled properly when closing/opening project
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/PasteAction.java
return false;
	
	if (isLinked(resourceData) && targetResource.getType() != IResource.PROJECT) 
		return false;
		
	if (selectedResources.size() > 1) {
		 
		
		for (int i = 0; i < selectedResources.size(); i++) {
			IResource resource = (IResource)selectedResources.get(i);
			if (resource.getType() != IResource.FILE)
				return false;
			if (!targetResource.equals(resource.getParent()))
				return false;
		}
	}
	
	if (targetResource.getType() == IResource.FOLDER && 
		resourceData != null) {
		
		for (int i = 0; i < resourceData.length; i++) {
			if (targetResource.equals(resourceData[i]))
				return false;
		}
	}
		
	return true;
}
}