|
|
@ -218,6 +218,10 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript |
|
|
|
this.add(editorPane, BorderLayout.CENTER); |
|
|
|
this.add(editorPane, BorderLayout.CENTER); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void reset() { |
|
|
|
|
|
|
|
editorPane.populate(new SingleJavaScript[0]); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected String title4PopupWindow() { |
|
|
|
protected String title4PopupWindow() { |
|
|
|
return Toolkit.i18nText("Fine-Design_Basic_Export_JS_Setting"); |
|
|
|
return Toolkit.i18nText("Fine-Design_Basic_Export_JS_Setting"); |
|
|
@ -758,6 +762,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript |
|
|
|
public void populateBean(ExportJavaScript ob) { |
|
|
|
public void populateBean(ExportJavaScript ob) { |
|
|
|
if (ob == null) { |
|
|
|
if (ob == null) { |
|
|
|
ob = new ExportJavaScript(); |
|
|
|
ob = new ExportJavaScript(); |
|
|
|
|
|
|
|
otherTemplatePane.reset(); |
|
|
|
} |
|
|
|
} |
|
|
|
this.templateRadioGroup.selectIndexButton(ob.isCurrentTemplate() ? 0 : 1); |
|
|
|
this.templateRadioGroup.selectIndexButton(ob.isCurrentTemplate() ? 0 : 1); |
|
|
|
if (ob.isCurrentTemplate()) { |
|
|
|
if (ob.isCurrentTemplate()) { |
|
|
|