file.delete();
UploadFileJob.deleteFoldersIfEmpty(file.getParentFile());
}
r.getParent().refreshLocal(IResource.DEPTH_ONE, new NullProgressMonitor());
}finally{
HDFSManager.INSTANCE.stopServerOperation(store.toURI().toString());
}
}
}
} catch (CoreException e) {
MessageDialog.openError(targetPart.getSite().getShell(), "Upload HDFS Resources", "Error uploading resource to " + r.getLocationURI() + ": "