Browse Source

Pull request #8532: REPORT-68987 把高级编辑当作可选的

Merge in DESIGN/design from ~HENRY.WANG/design:final/11.0 to final/11.0

* commit '4505430def0ac2b105144ccc965af723956426a0':
  REPORT-68987 把高级编辑当作可选的
final/11.0
Henry.Wang 3 years ago
parent
commit
44e89d6b07
  1. 8
      designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java

8
designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java

@ -63,7 +63,9 @@ public class JSContentPane extends BasicPane {
initFunctionTitle(args);
JPanel jsParaPane = createJSParaPane();
addNewPaneLabel();
if (needAdvancedEditor()) {
addNewPaneLabel();
}
this.add(jsParaPane, BorderLayout.NORTH);
UIScrollPane sp = createContentTextAreaPanel();
@ -323,4 +325,8 @@ public class JSContentPane extends BasicPane {
return provider;
}
protected boolean needAdvancedEditor() {
return true;
}
}
Loading…
Cancel
Save