|
|
|
@ -229,7 +229,6 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
private UICheckBox useUniverseDBMCheckbox; |
|
|
|
|
private UICheckBox joinProductImproveCheckBox; |
|
|
|
|
private UICheckBox autoPushUpdateCheckBox; |
|
|
|
|
private UICheckBox embedServerLazyStartupCheckBox; |
|
|
|
|
private UICheckBox imageCompressPanelCheckBox; |
|
|
|
|
private UICheckBox cloudAnalyticsDelayCheckBox; |
|
|
|
|
|
|
|
|
@ -321,9 +320,6 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
cell(createMemoryPane()), |
|
|
|
|
// 产品改良
|
|
|
|
|
cell(createImprovePane()), |
|
|
|
|
// 内置服务器
|
|
|
|
|
/// 暂时不支持跟随启动
|
|
|
|
|
// cell(createEmbeddedServerPane()),
|
|
|
|
|
// 模板预览性能
|
|
|
|
|
cell(createTplPreviewPane()), |
|
|
|
|
// 设计器启动选项
|
|
|
|
@ -370,12 +366,6 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
i18nText("Fine-Design_Template_Preview_Performance")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private Component createEmbeddedServerPane() { |
|
|
|
|
embedServerLazyStartupCheckBox = new UICheckBox(i18nText("Fine-Design_Startup_When_Needed")); |
|
|
|
|
return FineUIUtils.wrapComponentWithTitle(column(10, cell(embedServerLazyStartupCheckBox)).getComponent(), |
|
|
|
|
i18nText("Fine-Design_Embed_Server")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private Component createImprovePane() { |
|
|
|
|
joinProductImproveCheckBox = new UICheckBox(i18nText("Fine-Design_Basic_Join_Product_Improve")); |
|
|
|
|
autoPushUpdateCheckBox = new UICheckBox(i18nText("Fine-Design_Automatic_Push_Update")); |
|
|
|
@ -994,7 +984,6 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
this.autoPushUpdateCheckBox.setSelected(designerEnvManager.isAutoPushUpdateEnabled()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// this.embedServerLazyStartupCheckBox.setSelected(designerEnvManager.isEmbedServerLazyStartup());
|
|
|
|
|
this.startWithEmptyFile.setSelected(designerEnvManager.isStartWithEmptyFile()); |
|
|
|
|
|
|
|
|
|
this.imageCompressPanelCheckBox.setSelected(designerEnvManager.isImageCompress()); |
|
|
|
@ -1093,7 +1082,6 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
designerEnvManager.setOracleSystemSpace(this.oracleSpace.isSelected()); |
|
|
|
|
designerEnvManager.setCachingTemplateLimit((int) this.cachingTemplateSpinner.getValue()); |
|
|
|
|
designerEnvManager.setJoinProductImprove(this.joinProductImproveCheckBox.isSelected()); |
|
|
|
|
designerEnvManager.setEmbedServerLazyStartup(this.embedServerLazyStartupCheckBox.isSelected()); |
|
|
|
|
designerEnvManager.setImageCompress(this.imageCompressPanelCheckBox.isSelected()); |
|
|
|
|
boolean optimizedUPMFlag = this.useOptimizedUPMCheckbox != null && this.useOptimizedUPMCheckbox.isSelected(); |
|
|
|
|
designerEnvManager.setUseOptimizedUPM4Adapter(optimizedUPMFlag); |
|
|
|
|