private void openFile(File file)
{
try {
PresentationFile<?> presentationFile = adapter.openZipContent(file.getAbsolutePath());
EventDispatchService eventService = EventDispatchService.getInstance();
eventService.fireEvent(new OpenFileEvent(presentationFile));
eventService.fireEvent(new UpdateFileHistoryEvent());
} catch (FileListContentAdapterException e) {
JOptionPane.showMessageDialog(null, BaseBundle.getValue("error.openning.file"));
}
}