Browse Source

REPORT-29864 服务器数据集重命名问题

bugfix/10.0
hades 5 years ago
parent
commit
bde8a6bf5f
  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) { protected void renameConnection(final String oldName, final String newName) {
Configurations.update(new Worker() { tableDataConfig.renameTableData(oldName, newName);
@Override
public void run() {
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