|
|
|
@ -3,6 +3,7 @@ package com.fr.design.hyperlink.popup;
|
|
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
|
import com.fr.base.Parameter; |
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.design.dialog.BasicDialog; |
|
|
|
|
import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
|
import com.fr.design.formula.TinyFormulaPane; |
|
|
|
@ -73,6 +74,7 @@ public class ContentSettingPane extends AbstractHyperLinkPane<MobilePopupHyperli
|
|
|
|
|
|
|
|
|
|
templateContentPane= this.createTemplateContentPane(); |
|
|
|
|
textSettingPanel = this.createTextSettingPane(); |
|
|
|
|
BidiUtils.applyOrientationByLocale(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private JPanel createPopupTargetPane() { |
|
|
|
@ -87,7 +89,7 @@ public class ContentSettingPane extends AbstractHyperLinkPane<MobilePopupHyperli
|
|
|
|
|
popupTargetButtons.add(textPopupButton); |
|
|
|
|
|
|
|
|
|
JPanel popupButtonsPanel = new JPanel(); |
|
|
|
|
popupButtonsPanel.setLayout( new FlowLayout(FlowLayout.LEFT, 10, 0)); |
|
|
|
|
popupButtonsPanel.setLayout( new FlowLayout(BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT, 10, 0)); |
|
|
|
|
popupButtonsPanel.add(templatePopupButton); |
|
|
|
|
popupButtonsPanel.add(textPopupButton); |
|
|
|
|
return MobilePopupUIUtils.createLeftTileRightContentPanel(Toolkit.i18nText("FR-Plugin-Designer_Mobile_Popup_Target"), popupButtonsPanel); |
|
|
|
@ -118,7 +120,7 @@ public class ContentSettingPane extends AbstractHyperLinkPane<MobilePopupHyperli
|
|
|
|
|
templateContentPane.add(parameterViewPane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
extendParametersCheckBox = new UICheckBox(Toolkit.i18nText("Fine-Design_Basic_Hyperlink_Extends_Report_Parameters")); |
|
|
|
|
templateContentPane.add(GUICoreUtils.createFlowPane(extendParametersCheckBox, FlowLayout.LEFT), BorderLayout.SOUTH); |
|
|
|
|
templateContentPane.add(GUICoreUtils.createFlowPane(extendParametersCheckBox, BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT), BorderLayout.SOUTH); |
|
|
|
|
|
|
|
|
|
return templateContentPane; |
|
|
|
|
} |
|
|
|
@ -132,7 +134,7 @@ public class ContentSettingPane extends AbstractHyperLinkPane<MobilePopupHyperli
|
|
|
|
|
// 选择路径按钮
|
|
|
|
|
UIButton templateSelectButton = new UIButton(Toolkit.i18nText("FR-Plugin-Designer_Mobile_Popup_Select")); |
|
|
|
|
templateSelectButton.setPreferredSize(new Dimension(templateSelectButton.getPreferredSize().width, 20)); |
|
|
|
|
templatePanel.add(templateSelectButton, BorderLayout.EAST); |
|
|
|
|
templatePanel.add(templateSelectButton, BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
templateSelectButton.addActionListener(new ActionListener() { |
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent evt) { |
|
|
|
|