Search in sources :

Example 1 with GlobalConfigurationListener

use of org.sonarlint.intellij.messages.GlobalConfigurationListener in project sonarlint-intellij by SonarSource.

the class SonarLintGlobalConfigurable method apply.

@Override
public void apply() {
    serversPanel.save(globalSettings);
    globalPanel.save(globalSettings);
    about.save(telemetry);
    exclusions.save(globalSettings);
    GlobalConfigurationListener globalConfigurationListener = app.getMessageBus().syncPublisher(GlobalConfigurationListener.TOPIC);
    globalConfigurationListener.applied(globalSettings);
    serverManager.reloadServers();
}
Also used : GlobalConfigurationListener(org.sonarlint.intellij.messages.GlobalConfigurationListener)

Aggregations

GlobalConfigurationListener (org.sonarlint.intellij.messages.GlobalConfigurationListener)1