importThread.addObserver(new Observer() {
@Override
public void update(Observable o, Object arg) {
if (arg instanceof ObserverNotification) {
final ObserverNotification notification = (ObserverNotification) arg;
final NotificationType type = notification.getType();
if (type.equals(NotificationType.sumoDumpThreadProgress)) {
progressDialog.setProgressValue((Integer) arg);
} else if(type.equals(NotificationType.sumoDumpThreadDone)) {
threadDone();