|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fr.design.webattr; |
|
|
|
|
|
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
|
import com.fr.design.gui.frpane.EditingStringListPane; |
|
|
|
|
import com.fr.design.gui.ibutton.UIButton; |
|
|
|
@ -37,14 +38,14 @@ public class WebCssPane extends BasicPane {
|
|
|
|
|
this.setBorder(BorderFactory.createEmptyBorder(10, 5, 0, 0)); |
|
|
|
|
|
|
|
|
|
JPanel outnorth = new JPanel(new BorderLayout(0, 5)); |
|
|
|
|
JPanel northPane = new JPanel(new FlowLayout(FlowLayout.LEFT,8,0)); |
|
|
|
|
JPanel northPane = new JPanel(new FlowLayout(BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT,8,0)); |
|
|
|
|
localText = new UITextField(); |
|
|
|
|
localText.setPreferredSize(DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.web.pane.text.field")); |
|
|
|
|
localText.setEditable(false); |
|
|
|
|
chooseFile = new UIButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Selection")); |
|
|
|
|
chooseFile.setPreferredSize(new Dimension(75, 23)); |
|
|
|
|
chooseFile.addActionListener(chooseFileListener); |
|
|
|
|
northPane.add(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Disk_File") + ":"), FlowLayout.LEFT); |
|
|
|
|
northPane.add(new UILabel(BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Disk_File"), ":")), FlowLayout.LEFT); |
|
|
|
|
northPane.add(localText, FlowLayout.CENTER); |
|
|
|
|
northPane.add(chooseFile, FlowLayout.RIGHT); |
|
|
|
|
outnorth.add(northPane,BorderLayout.NORTH); |
|
|
|
@ -67,6 +68,7 @@ public class WebCssPane extends BasicPane {
|
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
this.add(centerPane, BorderLayout.CENTER); |
|
|
|
|
BidiUtils.applyOrientationByLocale(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private ActionListener chooseFileListener = new ActionListener() { |
|
|
|
|