use of com.mucommander.ui.dialog.file.DownloadDialog in project mucommander by mucommander.
the class BrowseLocationThread method showDownloadDialog.
/**
* Displays a download dialog box where the user can choose where to download the given file or cancel
* the operation.
*
* @param file the file to download
*/
private void showDownloadDialog(AbstractFile file) {
FileSet fileSet = new FileSet(locationManager.getCurrentFolder());
fileSet.add(file);
// Show confirmation/path modification dialog
new DownloadDialog(mainFrame, fileSet).showDialog();
}
Aggregations