Bug 29491 [DND] Check NavigatorDragAdapter use of IResource.getLocation
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/CopyAction.java
public void run(){	
	List selectedResources = getSelectedResources();
	IResource[] resources = (IResource[]) selectedResources.toArray(new IResource[selectedResources.size()]);
	
	
	int len = resources.length;
	String[] fileNames = new String[len];
	StringBuffer buf = new StringBuffer();
	for (int i = 0, length = len; i < length; i++) {
		fileNames[i] = resources[i].getLocation().toOSString();
		if (i > 0)
			buf.append("\n"); 
		buf.append(resources[i].getName());
	}
	setClipboard(resources, fileNames, buf.toString());
			
	
	
	if (pasteAction != null && pasteAction.getStructuredSelection() != null) 
		pasteAction.selectionChanged(pasteAction.getStructuredSelection());
}
/**
 * Set the clipboard contents. Prompt to retry if clipboard is busy.
 * 
 * @param resources the resources to copy to the clipboard
 * @param fileNames file names of the resources to copy to the clipboard
 * @param names string representation of all names
 */
private void setClipboard(IResource[] resources, String[] fileNames, String names) {
	try {