Browse Source

Merge pull request #1617 in DESIGN/design from ~HADES/design:bugfix/10.0 to bugfix/10.0

* commit 'bde8a6bf5f8cd59ea5572d70b112b42b485b75f9':
  REPORT-29864 服务器数据集重命名问题
bugfix/10.0
Hades 5 years ago
parent
commit
33cc0a2d60
  1. 10
      designer-base/src/main/java/com/fr/design/actions/server/GlobalTableDataAction.java

10
designer-base/src/main/java/com/fr/design/actions/server/GlobalTableDataAction.java

@ -77,18 +77,8 @@ public class GlobalTableDataAction extends UpdateAction implements ResponseDataS
} }
protected void renameConnection(final String oldName, final String newName) { protected void renameConnection(final String oldName, final String newName) {
Configurations.update(new Worker() {
@Override
public void run() {
tableDataConfig.renameTableData(oldName, newName); tableDataConfig.renameTableData(oldName, newName);
} }
@Override
public Class<? extends Configuration>[] targets() {
return new Class[]{TableDataConfig.class, ProcedureConfig.class};
}
});
}
}; };
final BasicDialog globalTableDataDialog = globalTableDataPane.showLargeWindow(designerFrame, null); final BasicDialog globalTableDataDialog = globalTableDataPane.showLargeWindow(designerFrame, null);

Loading…
Cancel
Save