}
}
if (!cancelled) {
Set<String> configuredApps = EclipsePropertiesManager.getConfiguredApplications();
ApplicationDialog appDialog = new ApplicationDialog(window.getShell(),
threadFixApplicationMap, configuredApps);
appDialog.create();
if (appDialog.open() == Window.OK) {
EclipsePropertiesManager.saveApplicationInfo(appDialog.getAppIds());
System.out.println("Saved successfully.");
} else {
System.out.println("Cancel was pressed.");
}
}