|
|
|
@ -41,7 +41,7 @@ public class FormECParallelCalSettingPane extends BasicBeanPane<FormECParallelCa
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initPane(){ |
|
|
|
|
JPanel calSettingOutPane = FRGUIPaneFactory.createTitledBorderPane(Toolkit.i18nText("Fine-Designer_Form_Block_Parallel_Calculate")); |
|
|
|
|
JPanel calSettingOutPane = FRGUIPaneFactory.createTitledBorderPane(Toolkit.i18nText("Fine-Design_Form_Block_Calculate_Setting")); |
|
|
|
|
calSettingOutPane.setPreferredSize(new Dimension(550,110)); |
|
|
|
|
calSettingOutPane.add(getCalSettingPane()); |
|
|
|
|
this.add(calSettingOutPane); |
|
|
|
@ -50,18 +50,18 @@ public class FormECParallelCalSettingPane extends BasicBeanPane<FormECParallelCa
|
|
|
|
|
private JPanel getCalSettingPane() { |
|
|
|
|
JPanel calSettingPane = new JPanel(); |
|
|
|
|
calSettingPane.setLayout(new BorderLayout()); |
|
|
|
|
UILabel belowSetLabel = new UILabel(Toolkit.i18nText("Fine-Designer_Setting_Mode")); |
|
|
|
|
UILabel belowSetLabel = new UILabel(Toolkit.i18nText("Fine-Design_Setting_Mode")); |
|
|
|
|
belowSetLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 20)); |
|
|
|
|
JPanel parallelSettingScopePane = GUICoreUtils.createFlowPane(new Component[] { |
|
|
|
|
belowSetLabel, getParallelSettingScope()}, FlowLayout.LEFT, 0, 0); |
|
|
|
|
calSettingPane.add(parallelSettingScopePane, BorderLayout.NORTH); |
|
|
|
|
calSettingPane.add(getSwitchPane(Toolkit.i18nText("Fine-Designer_Enable_Form_Block_Parallel_Calculate")), BorderLayout.CENTER); |
|
|
|
|
calSettingPane.add(getSwitchPane(Toolkit.i18nText("Fine-Design_Enable_Form_Block_Parallel_Calculate")), BorderLayout.CENTER); |
|
|
|
|
return calSettingPane; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected String title4PopupWindow() { |
|
|
|
|
return Toolkit.i18nText("Fine-Designer_Form_Block_Parallel_Calculate"); |
|
|
|
|
return Toolkit.i18nText("Fine-Design_Form_Calculate_Setting"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private UIComboBox getParallelSettingScope() { |
|
|
|
|