Browse Source

修改数据集逻辑

master
CL 7 years ago
parent
commit
273ecfc0df
  1. 4
      designer_base/src/com/fr/design/data/datapane/TableDataPaneListPane.java

4
designer_base/src/com/fr/design/data/datapane/TableDataPaneListPane.java

@ -213,10 +213,12 @@ public class TableDataPaneListPane extends JListControlPane implements TableData
tableDataConfig.removeAllTableData();
ProcedureConfig.getInstance().removeAllProcedure();
Nameable[] tableDataArray = this.update();
Map<String,TableData> tableDataMap = new LinkedHashMap<String,TableData>();
for (int i = 0; i < tableDataArray.length; i++) {
NameObject nameObject = (NameObject) tableDataArray[i];
tableDataConfig.addTableData(nameObject.getName(), (TableData) nameObject.getObject());
tableDataMap.put(nameObject.getName(), (TableData) nameObject.getObject());
}
tableDataConfig.setTableDatas(tableDataMap);
}
@Override

Loading…
Cancel
Save