urlDownloader.cancel(true);
}
};
String permText = "Downloading " + url;
String title = dialogTitle != null ? dialogTitle : permText;
CancellableProgressDialog dialog = CancellableProgressDialog.showCancellableProgressDialog(dialogsParent, title, buttonListener, false, monitor);
dialog.setPermText(permText);
Dimension dms = new Dimension(600, 150);
dialog.setPreferredSize(dms);
dialog.setSize(dms);
dialog.validate();
LongRunningTask.submit(urlDownloader);
return urlDownloader;
}
}