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 {