}
public void select()
{
ShowFileContentService showFileService = new ShowFileContentServiceImpl();
ShowFileContentAdapter showFileAdaper = new ShowFileContentAdapterImpl(showFileService);
PresentationFile<?> preparedFile = null;
try {
preparedFile = showFileAdaper.prepareFileToView(presentationFile);
EventDispatchService dispatchService = EventDispatchService.getInstance();
if (preparedFile.isImageFile()) {
Image image = (Image) preparedFile.getContent();
dispatchService.fireEvent(new ShowImageEvent(image));
} else if (preparedFile.isTextFile()) {