Browse Source

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

new-design
Henry.Wang 3 years ago
parent
commit
4505430def
  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); initFunctionTitle(args);
JPanel jsParaPane = createJSParaPane(); JPanel jsParaPane = createJSParaPane();
addNewPaneLabel(); if (needAdvancedEditor()) {
addNewPaneLabel();
}
this.add(jsParaPane, BorderLayout.NORTH); this.add(jsParaPane, BorderLayout.NORTH);
UIScrollPane sp = createContentTextAreaPanel(); UIScrollPane sp = createContentTextAreaPanel();
@ -323,4 +325,8 @@ public class JSContentPane extends BasicPane {
return provider; return provider;
} }
protected boolean needAdvancedEditor() {
return true;
}
} }
Loading…
Cancel
Save