public RevuProjectSettingsForm(@NotNull Project project)
{
super(project);
RevuAppSettingsComponent appSettingsComponent =
ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
appSettingsListener = new IRevuSettingsListener<RevuAppSettings>()
{
public void settingsChanged(RevuAppSettings oldSettings, RevuAppSettings newSettings)
{
updateUIDependingOnAppSettings(newSettings);
}
};
appSettingsComponent.addListener(appSettingsListener);
}