Browse Source

极速下拉树构建中,填报的问题

master
juhaoyu 8 years ago
parent
commit
53726119e4
  1. 20
      designer_base/src/com/fr/design/gui/frpane/TreeSettingPane.java

20
designer_base/src/com/fr/design/gui/frpane/TreeSettingPane.java

@ -214,15 +214,17 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI {
if (buildBox.getSelectedIndex() == 1) { if (buildBox.getSelectedIndex() == 1) {
TableDataDictionary dictionary = this.autoBuildPane.update(); TableDataDictionary dictionary = this.autoBuildPane.update();
tcb.setAutoBuild(true); tcb.setAutoBuild(true);
tcb.setDictionary(dictionary); tcb.setLayerBuild(false);
tcb.setNodeOrDict(dictionary); tcb.setDictionary(dictionary);
} else if (buildBox.getSelectedIndex() == 2) { tcb.setNodeOrDict(dictionary);
tcb.setAutoBuild(false); } else if (buildBox.getSelectedIndex() == 2) {
NameObject no = this.controlPane.update(); tcb.setAutoBuild(false);
if (no != null) { tcb.setLayerBuild(false);
if (no.getObject() instanceof TreeComboBoxEditor) { NameObject no = this.controlPane.update();
return (TreeComboBoxEditor) no.getObject(); if (no != null) {
} if (no.getObject() instanceof TreeComboBoxEditor) {
return (TreeComboBoxEditor) no.getObject();
}
TreeEditor editor = (TreeEditor) no.getObject(); TreeEditor editor = (TreeEditor) no.getObject();
tcb.setAllowBlank(editor.isAllowBlank()); tcb.setAllowBlank(editor.isAllowBlank());

Loading…
Cancel
Save