use of com.mucommander.ui.dialog.file.LocalCopyDialog in project mucommander by mucommander.
the class LocalCopyAction method performAction.
@Override
public void performAction() {
FolderPanel activePanel = mainFrame.getActivePanel();
AbstractFile selectedFile = activePanel.getFileTable().getSelectedFile(false, true);
// Display local copy dialog only if a file other than '..' is currently selected
if (selectedFile != null) {
new LocalCopyDialog(mainFrame, new FileSet(activePanel.getCurrentFolder(), selectedFile)).showDialog();
}
}
Aggregations