Bug 15638 Drag & Drop: Packages view doesn't update on move
Build: 20020508 If I move a file from the packages view using drag & drop, the packages view does not update to show that the file has been removed. After I refresh the packages view shows the file is no longer there.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDragAdapter.java
}
			return true;
		}
		return false;
	}
	
	public void dragSetData(DragSourceEvent event){
		List elements= getResources();
		if (elements == null || elements.size() == 0) {
			event.data= null;
			return;
		}
		
		String[] result= new String[elements.size()];
		Iterator iter= elements.iterator();
		for(int i= 0; iter.hasNext(); i++) {
			IResource resource= (IResource)iter.next();
			result[i]= resource.getLocation().toOSString();
		}
		event.data= result;
	}
	
	public void dragFinished(DragSourceEvent event) {
		if (!event.doit)
			return;
		if (event.detail == DND.DROP_MOVE) {
			handleDropMove(event);
		}	
		else if (event.detail == DND.DROP_NONE) {
			handleRefresh(event);