Browse Source

REPORT-68987 把高级编辑当作可选的

release/11.0
Henry.Wang 3 years ago
parent
commit
2185496cb5
  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