use of com.google.cloud.tools.intellij.service.PluginConfigurationService in project google-cloud-intellij by GoogleCloudPlatform.
the class CloudToolsPluginInitializationComponent method initComponent.
@Override
public void initComponent() {
if (!ApplicationManager.getApplication().isUnitTestMode()) {
configureUsageTracking();
}
Services.getLoginService().loadPersistedCredentials();
PluginConfigurationService pluginConfigurationService = ServiceManager.getService(PluginConfigurationService.class);
PluginInfoService pluginInfoService = ServiceManager.getService(PluginInfoService.class);
if (pluginInfoService.shouldEnableErrorFeedbackReporting()) {
initErrorReporting(pluginConfigurationService, pluginInfoService);
}
new ConflictingAppEnginePluginCheck().notifyIfConflicting();
new GoogleAccountPluginUninstaller().uninstallIfPresent();
if (!ApplicationManager.getApplication().isUnitTestMode()) {
ServiceManager.getService(CloudSdkServiceManager.class).getCloudSdkService().activate();
}
}
Aggregations