Browse Source

Merging in latest from upstream (DESIGN/design:refs/heads/feature/x)

* commit '0ab1e01a24850486e1b7274d6a29bc75b915d0f8':
  REPORT-48405 format
  REPORT-48405【新引擎】网页框控件无法选择cptx文件
research/11.0
rinoux 4 years ago
parent
commit
341c48d84f
  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); centerPane.add(cardPane, BorderLayout.CENTER);
cardPane.setLayout(card = new CardLayout()); cardPane.setLayout(card = new CardLayout());
templateReportletTree = new TemplateFileTree(); 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); templateReportletTree.setFileNodeFilter(filter);
cardPane.add(t_panel = new JScrollPane(templateReportletTree), "TEMPLATE"); cardPane.add(t_panel = new JScrollPane(templateReportletTree), "TEMPLATE");
classReportletTree = new ClassFileTree(); classReportletTree = new ClassFileTree();

Loading…
Cancel
Save