for (Project openProject : openProjects) {
ProjectSettingsComponent component = openProject.getComponent(ProjectSettingsComponent.class);
if (component != null) {
Settings state = component.getSettings();
if (deletedSettings.getId().equals(state.getId())) {
component.loadState(defaultSettings);
if (project != openProject) {
Notifier.notifyDeletedSettings(component.getProject());
}
}
}