|
|
@ -127,7 +127,7 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI { |
|
|
|
buildBox.setSelectedIndex(1); |
|
|
|
buildBox.setSelectedIndex(1); |
|
|
|
TableDataDictionary dictionary = treeEditor.getDictionary(); |
|
|
|
TableDataDictionary dictionary = treeEditor.getDictionary(); |
|
|
|
autoBuildPane.populate(dictionary); |
|
|
|
autoBuildPane.populate(dictionary); |
|
|
|
} else if (treeEditor.isLayerBuild()) { |
|
|
|
} else if (treeEditor.isFastLayerBuild()) { |
|
|
|
buildBox.setSelectedIndex(0); |
|
|
|
buildBox.setSelectedIndex(0); |
|
|
|
java.util.List<LayerConfig> layerConfigList = treeEditor.getLayerConfigs(); |
|
|
|
java.util.List<LayerConfig> layerConfigList = treeEditor.getLayerConfigs(); |
|
|
|
LayerConfig[] layerConfigs = new LayerConfig[layerConfigList.size()]; |
|
|
|
LayerConfig[] layerConfigs = new LayerConfig[layerConfigList.size()]; |
|
|
@ -156,12 +156,12 @@ 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(); |
|
|
|
te.setAutoBuild(true); |
|
|
|
te.setAutoBuild(true); |
|
|
|
te.setLayerBuild(false); |
|
|
|
te.setFastLayerBuild(false); |
|
|
|
te.setDictionary(dictionary); |
|
|
|
te.setDictionary(dictionary); |
|
|
|
te.setNodeOrDict(dictionary); |
|
|
|
te.setNodeOrDict(dictionary); |
|
|
|
} else if (buildBox.getSelectedIndex() == 2) { |
|
|
|
} else if (buildBox.getSelectedIndex() == 2) { |
|
|
|
te.setAutoBuild(false); |
|
|
|
te.setAutoBuild(false); |
|
|
|
te.setLayerBuild(false); |
|
|
|
te.setFastLayerBuild(false); |
|
|
|
NameObject no = this.controlPane.update(); |
|
|
|
NameObject no = this.controlPane.update(); |
|
|
|
if (no != null) { |
|
|
|
if (no != null) { |
|
|
|
TreeEditor editor = (TreeEditor) no.getObject(); |
|
|
|
TreeEditor editor = (TreeEditor) no.getObject(); |
|
|
@ -181,7 +181,7 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
LayerConfig[] configs = (LayerConfig[]) layerDataControlPane.update().getObject(); |
|
|
|
LayerConfig[] configs = (LayerConfig[]) layerDataControlPane.update().getObject(); |
|
|
|
te.setAutoBuild(false); |
|
|
|
te.setAutoBuild(false); |
|
|
|
te.setLayerBuild(true); |
|
|
|
te.setFastLayerBuild(true); |
|
|
|
te.setLayerConfigs(Arrays.asList(configs)); |
|
|
|
te.setLayerConfigs(Arrays.asList(configs)); |
|
|
|
} |
|
|
|
} |
|
|
|
return te; |
|
|
|
return te; |
|
|
@ -215,12 +215,12 @@ 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.setLayerBuild(false); |
|
|
|
tcb.setFastLayerBuild(false); |
|
|
|
tcb.setDictionary(dictionary); |
|
|
|
tcb.setDictionary(dictionary); |
|
|
|
tcb.setNodeOrDict(dictionary); |
|
|
|
tcb.setNodeOrDict(dictionary); |
|
|
|
} else if (buildBox.getSelectedIndex() == 2) { |
|
|
|
} else if (buildBox.getSelectedIndex() == 2) { |
|
|
|
tcb.setAutoBuild(false); |
|
|
|
tcb.setAutoBuild(false); |
|
|
|
tcb.setLayerBuild(false); |
|
|
|
tcb.setFastLayerBuild(false); |
|
|
|
NameObject no = this.controlPane.update(); |
|
|
|
NameObject no = this.controlPane.update(); |
|
|
|
if (no != null) { |
|
|
|
if (no != null) { |
|
|
|
if (no.getObject() instanceof TreeComboBoxEditor) { |
|
|
|
if (no.getObject() instanceof TreeComboBoxEditor) { |
|
|
@ -244,7 +244,7 @@ public class TreeSettingPane extends BasicPane implements DataCreatorUI { |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
LayerConfig[] configs = (LayerConfig[]) layerDataControlPane.update().getObject(); |
|
|
|
LayerConfig[] configs = (LayerConfig[]) layerDataControlPane.update().getObject(); |
|
|
|
tcb.setAutoBuild(false); |
|
|
|
tcb.setAutoBuild(false); |
|
|
|
tcb.setLayerBuild(true); |
|
|
|
tcb.setFastLayerBuild(true); |
|
|
|
tcb.setLayerConfigs(Arrays.asList(configs)); |
|
|
|
tcb.setLayerConfigs(Arrays.asList(configs)); |
|
|
|
} |
|
|
|
} |
|
|
|
return tcb; |
|
|
|
return tcb; |
|
|
|