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