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. 12
      designer-base/src/main/java/com/fr/design/actions/server/GlobalTableDataAction.java

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

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

Loading…
Cancel
Save