Browse Source

Merge pull request #1700 in BA/design from ~ABEL.CHEN/design:feature/10.0 to feature/10.0

* commit '273ecfc0df6b004b1c239c6d6d830a5658f3d107':
  修改数据集逻辑
master
superman 7 years ago
parent
commit
92caf59b44
  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