|
|
@ -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()); |
|
|
|