for (Project openProject : openProjects) {
ProjectSettingsComponent component = openProject.getComponent(ProjectSettingsComponent.class);
if (component != null) {
Settings state = component.getSettings();
if (updatedSettings.getId().equals(state.getId())) {
component.install(updatedSettings);
}
}
}
}
}