public void run(ProgressMonitor monitor) throws ApplicationException
{
try
{
InputStream is = new BufferedInputStream(new FileInputStream(file));
importer.doImport(context,format,is,monitor);
monitor.setPercentComplete(100);
monitor.setStatus(ProgressMonitor.STATUS_DONE);
GUI.getStatusBar().setSuccessText(i18n.tr("Daten importiert aus {0}",s));
GUI.getCurrentView().reload();
}