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
ResourceTransfer resTransfer = ResourceTransfer.getInstance();
	IResource[] resourceData = (IResource[])clipboard.getContents(resTransfer);
	FileTransfer fileTransfer = FileTransfer.getInstance();
	String[] fileData = (String[])clipboard.getContents(fileTransfer);
	if (resourceData == null && fileData == null)
		return false;
	
	boolean isProjectRes = resourceData != null
		&& resourceData.length > 0
		&& resourceData[0].getType() == IResource.PROJECT;
	if (isProjectRes) {
		for (int i = 1; i < resourceData.length; i++) {
			
			if (resourceData[i].getType() != IResource.PROJECT)
				return false;
		}
		return true;
	} 
	 
	
	
	if (getSelectedNonResources().size() > 0) 
		return false;
	List selectedResources = getSelectedResources();
	IResource targetResource = getTarget();
	 
		
	if (targetResource == null)