String logFilePattern = store.getString(DefaultPreferences.LogFilePreferences.getId());
logger.debug("Log file pattern: {} was loaded.", logFilePattern);
LogFileLoader logFileLoader = new LogFileLoader();
logFileLoader.addListener(logView.getLogList());
logFileLoader.load(selectedFile, logFilePattern);
logFileLoader.removeListener(logView.getLogList());
}
} catch (FileNotFoundException e) {
String errorMessage = "Log file wasn't found!";
logView.getErrorManager().addError(errorMessage);