|
|
|
@ -2,6 +2,7 @@ package com.fr.design.condition;
|
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.data.DataConstants; |
|
|
|
|
import com.fr.data.condition.CommonCondition; |
|
|
|
|
import com.fr.data.condition.FormulaCondition; |
|
|
|
@ -400,6 +401,7 @@ public abstract class LiteConditionPane<T extends Condition> extends BasicBeanPa
|
|
|
|
|
|
|
|
|
|
public LiteConditionPane() { |
|
|
|
|
this.initComponents(); |
|
|
|
|
BidiUtils.applyOrientationByLocale(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected abstract BasicBeanPane<T> createUnFormulaConditionPane(); |
|
|
|
@ -439,7 +441,7 @@ public abstract class LiteConditionPane<T extends Condition> extends BasicBeanPa
|
|
|
|
|
conditionsTree.addTreeSelectionListener(treeSelectionListener); |
|
|
|
|
|
|
|
|
|
JPanel buttonPane = FRGUIPaneFactory.createNColumnGridInnerContainer_S_Pane(1); |
|
|
|
|
previewPane.add(GUICoreUtils.createBorderPane(buttonPane, BorderLayout.NORTH), BorderLayout.EAST); |
|
|
|
|
previewPane.add(GUICoreUtils.createBorderPane(buttonPane, BorderLayout.NORTH), BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
initButtonPane(buttonPane); |
|
|
|
|
|
|
|
|
|
// peter:必须要检查Enabled.
|
|
|
|
@ -493,8 +495,8 @@ public abstract class LiteConditionPane<T extends Condition> extends BasicBeanPa
|
|
|
|
|
this.add(conditonTypePane, BorderLayout.NORTH); |
|
|
|
|
conditonTypePane.setBorder(new ModLineBorder(ModLineBorder.BOTTOM)); |
|
|
|
|
|
|
|
|
|
UILabel conditionTypeLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Type") + ":"); |
|
|
|
|
conditonTypePane.add(conditionTypeLabel, BorderLayout.WEST); |
|
|
|
|
UILabel conditionTypeLabel = new UILabel(BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Type"), ":")); |
|
|
|
|
conditonTypePane.add(conditionTypeLabel, BidiUtils.rtl() ? BorderLayout.EAST : BorderLayout.WEST); |
|
|
|
|
conditionTypeLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, DOWN_PADDING, 0)); |
|
|
|
|
|
|
|
|
|
JPanel northPane = FRGUIPaneFactory.createNColumnGridInnerContainer_S_Pane(2); |
|
|
|
|