|
|
|
@ -220,10 +220,8 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
if (currentTemplateRadio.isSelected()) { |
|
|
|
|
reportPathTextField.setEnabled(false); |
|
|
|
|
browserButton.setEnabled(false); |
|
|
|
|
} else { |
|
|
|
|
reportPathTextField.setEnabled(true); |
|
|
|
|
browserButton.setEnabled(true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -234,6 +232,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
JPanel reportletNamePane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
// 路径输入框
|
|
|
|
|
reportPathTextField = new UITextField(20); |
|
|
|
|
reportPathTextField.setEnabled(false); |
|
|
|
|
reportletNamePane.add(reportPathTextField, BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
// 选择路径按钮
|
|
|
|
@ -272,10 +271,8 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
} |
|
|
|
|
this.templateRadioGroup.selectIndexButton(ob.isCurrentTemplate() ? 0 : 1); |
|
|
|
|
if (ob.isCurrentTemplate()) { |
|
|
|
|
this.reportPathTextField.setEnabled(false); |
|
|
|
|
this.browserButton.setEnabled(false); |
|
|
|
|
} else { |
|
|
|
|
this.reportPathTextField.setEnabled(true); |
|
|
|
|
this.browserButton.setEnabled(true); |
|
|
|
|
this.reportPathTextField.setText(ob.getTemplatePath()); |
|
|
|
|
} |
|
|
|
|