|
|
|
@ -171,7 +171,7 @@ public class TreeTableDataDictPane extends BasicPane implements Previewable {
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void tdChange(boolean isRefreshComboBoxItems) { |
|
|
|
|
private void tdChange(boolean isChangeDS) { |
|
|
|
|
TableDataWrapper tableDataWrappe = this.tableDataNameComboBox.getSelectedItem(); |
|
|
|
|
if (tableDataWrappe == null) { |
|
|
|
|
return; |
|
|
|
@ -188,7 +188,7 @@ public class TreeTableDataDictPane extends BasicPane implements Previewable {
|
|
|
|
|
String[] columnNames = new String[len]; |
|
|
|
|
namelist.toArray(columnNames); |
|
|
|
|
for (int i = 0; i < valueEditorPanes.length; i++) { |
|
|
|
|
if (isRefreshComboBoxItems || isNoSelectedColumnName(valueEditorPanes[i])) { |
|
|
|
|
if (isChangeDS || isNoSelectedColumnName(valueEditorPanes[i])) { |
|
|
|
|
valueEditorPanes[i].setEditors(new Editor[]{new ColumnNameEditor(columnNames), new ColumnIndexEditor(len)}, columnNames[0]); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|