|
|
|
@ -1122,7 +1122,10 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
designerEnvManager.setUseOptimizedUPM4Adapter(optimizedUPMFlag); |
|
|
|
|
//只有取消掉使用新插件管理器这个选项才需要把useNewPluginFirst置false(意味着用户手动配置了,如果勾选着的话,这个useNewPluginFirst为true就行了)
|
|
|
|
|
designerEnvManager.setUseNewPluginFirst(optimizedUPMFlag); |
|
|
|
|
designerEnvManager.setCloudAnalyticsDelay(this.cloudAnalyticsDelayCheckBox.isSelected()); |
|
|
|
|
boolean cloudDelayFlag = this.cloudAnalyticsDelayCheckBox.isSelected(); |
|
|
|
|
designerEnvManager.setCloudAnalyticsDelay(cloudDelayFlag); |
|
|
|
|
// cloudDelayFlag默认为true,如果用户手动配置过才会是false,则后续的云端运维配置都按照用户意愿来
|
|
|
|
|
designerEnvManager.setUseCloudAnalyticsDelayFirst(cloudDelayFlag); |
|
|
|
|
VcsConfigManager vcsConfigManager = designerEnvManager.getVcsConfigManager(); |
|
|
|
|
vcsConfigManager.setSaveInterval(this.saveIntervalEditor.getValue()); |
|
|
|
|
vcsConfigManager.setVcsEnable(this.vcsEnableCheckBox.isSelected()); |
|
|
|
|