Bug 29491 [DND] Check NavigatorDragAdapter use of IResource.getLocation
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/CopyAction.java
return false;
	
	boolean projSelected = selectionIsOfType(IResource.PROJECT);
	boolean fileFoldersSelected = selectionIsOfType(IResource.FILE | IResource.FOLDER);
	if (!projSelected && !fileFoldersSelected)
		return false;
	
	if (projSelected && fileFoldersSelected)
		return false;
	
		
	IContainer firstParent = ((IResource) selectedResources.get(0)).getParent();
	if (firstParent == null) 
		return false;
	Iterator resourcesEnum = selectedResources.iterator();
	while (resourcesEnum.hasNext()) {
		IResource currentResource = (IResource) resourcesEnum.next();
		if (!currentResource.getParent().equals(firstParent)) {
			return false;
		}
		
		if (currentResource.getLocation() == null) {
			return false;
		}
	}
	
	return true;
}
}