Search in sources :

Example 1 with DownloadDialog

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();
}
Also used : FileSet(com.mucommander.commons.file.util.FileSet) DownloadDialog(com.mucommander.ui.dialog.file.DownloadDialog)

Aggregations

FileSet (com.mucommander.commons.file.util.FileSet)1 DownloadDialog (com.mucommander.ui.dialog.file.DownloadDialog)1