}
return imported;
}
private void notifyFileImportService(List<File>files, JTextComponent comp, Blog blog) {
ImportImageInfo info = new ImportImageInfo();
info.setFiles(files);
info.setCaretPos(comp.getCaret().getDot());
info.setComponent((JEditorPane)comp);
info.setOutputDir(blog.getOutputDir());
NotificationCenter.getDefaultNotificationCenter().postNotification(ImageImporterService.START_IMPORT, info);
}