final Runnable downloader = new Runnable() {
public void run() {
for (RepoPathElement element : pathElements) {
try {
//TODO: show returned VirtualFile(s) in Results pane
mgr.download(repoUrl, element);
}
catch (ArtifactNotFoundException e) {
//TODO: accumulate errors and display once
UIUtils.showError(project, e);
}