|
|
|
@ -167,6 +167,7 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
private UICheckBox oracleSpace; |
|
|
|
|
private UISpinner cachingTemplateSpinner; |
|
|
|
|
private UICheckBox useOptimizedUPMCheckbox; |
|
|
|
|
private UICheckBox useNewVersionLoginCheckbox; |
|
|
|
|
private UICheckBox useUniverseDBMCheckbox; |
|
|
|
|
private UICheckBox joinProductImproveCheckBox; |
|
|
|
|
private UICheckBox autoPushUpdateCheckBox; |
|
|
|
@ -233,6 +234,13 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
advancePane.add(upmSelectorPane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (SupportOSImpl.DESIGNER_LOGIN.support()) { |
|
|
|
|
JPanel loginSelectorPane = FRGUIPaneFactory.createTitledBorderPane(i18nText("Fine-Design_Basic_Login_Manager")); |
|
|
|
|
useNewVersionLoginCheckbox = new UICheckBox(i18nText("Fine-Design_Basic_Use_New_Login_Manager")); |
|
|
|
|
loginSelectorPane.add(useNewVersionLoginCheckbox); |
|
|
|
|
advancePane.add(loginSelectorPane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
JPanel dbmSelectorPane = FRGUIPaneFactory.createTitledBorderPane(i18nText("Fine-Design_Basic_Database_Manager")); |
|
|
|
|
useUniverseDBMCheckbox = new UICheckBox(i18nText("Fine-Design_Basic_Use_Universe_Database_Manager")); |
|
|
|
|
//dbmSelectorPane.add(useUniverseDBMCheckbox);
|
|
|
|
@ -726,6 +734,10 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
useOptimizedUPMCheckbox.setSelected(ServerPreferenceConfig.getInstance().isUseOptimizedUPM()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (useNewVersionLoginCheckbox != null) { |
|
|
|
|
useNewVersionLoginCheckbox.setSelected(!DesignerEnvManager.getEnvManager().isUseOldVersionLogin()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
useUniverseDBMCheckbox.setSelected(ServerPreferenceConfig.getInstance().isUseUniverseDBM()); |
|
|
|
|
|
|
|
|
|
this.oracleSpace.setSelected(designerEnvManager.isOracleSystemSpace()); |
|
|
|
@ -820,6 +832,10 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
designerEnvManager.setAutoPushUpdateEnabled(this.autoPushUpdateCheckBox.isSelected()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (useNewVersionLoginCheckbox != null) { |
|
|
|
|
designerEnvManager.setUseOldVersionLogin(!this.useNewVersionLoginCheckbox.isSelected()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
designerEnvManager.setUndoLimit(maxUndoLimit.getSelectedIndex() * SELECTED_INDEX_5); |
|
|
|
|
if (maxUndoLimit.getSelectedIndex() == SELECTED_INDEX_5) { |
|
|
|
|
designerEnvManager.setUndoLimit(MAX_UNDO_LIMIT_50); |
|
|
|
|