LogWindow logWindow = (LogWindow) frame;
filePaths.add(logWindow.getFile()
.getAbsolutePath());
}
SessionManager sessionManager = new SessionManager();
try {
sessionManager.save(name, filePaths);
} catch (IOException e) {
logger.warning(e.getMessage());
DialogFactory.showErrorMessage(null, tr("Invalid session name") + "\r\n" + e.getMessage());
}
}