Browse Source

Pull request #3754: REPORT-48405【新引擎】网页框控件无法选择cptx文件

Merge in DESIGN/design from ~YYMING/design:feature/x to feature/x

* commit '2a5bc1812c5344c96bbbad595a80a45d803bb868':
  REPORT-48405 format
  REPORT-48405【新引擎】网页框控件无法选择cptx文件
persist/11.0
Yyming 4 years ago
parent
commit
0ab1e01a24
  1. 2
      designer-base/src/main/java/com/fr/design/gui/itree/filetree/ReportletPane.java

2
designer-base/src/main/java/com/fr/design/gui/itree/filetree/ReportletPane.java

@ -53,7 +53,7 @@ public class ReportletPane extends BasicPane {
centerPane.add(cardPane, BorderLayout.CENTER);
cardPane.setLayout(card = new CardLayout());
templateReportletTree = new TemplateFileTree();
IOFileNodeFilter filter = new IOFileNodeFilter(new String[]{".cpt", ".class", ".frm", ".form"});
IOFileNodeFilter filter = new IOFileNodeFilter(new String[]{".cpt", ".class", ".frm", ".form", ".cptx"});
templateReportletTree.setFileNodeFilter(filter);
cardPane.add(t_panel = new JScrollPane(templateReportletTree), "TEMPLATE");
classReportletTree = new ClassFileTree();

Loading…
Cancel
Save