@ -68,8 +68,10 @@ public class ConnectionListAction extends UpdateAction {
}
protected void renameConnection(String oldName, String newName) {
if(datasourceManager.getConnection(oldName) != null){
datasourceManager.renameConnection(oldName, newName);
};
final BasicDialog databaseListDialog = databaseManagerPane.showLargeWindow(designerFrame, null);
databaseListDialog.addDialogActionListener(new DialogActionAdapter() {
@ -78,8 +78,10 @@ public class GlobalTableDataAction extends UpdateAction implements ResponseDataS
Configurations.update(new Worker() {
@Override
public void run() {
if(tableDataConfig.getTableData(oldName) != null){
tableDataConfig.renameTableData(oldName, newName);
public Class<? extends Configuration>[] targets() {