void () { final int row = myTable.getSelectedRow(); if (row < 0) return; final RunnerAndConfigurationSettings selected = myModel.getAllConfigurations().get(row); final RunManager runManager = RunManager.getInstance(myProject); final RunnerAndConfigurationSettings was = runManager.getSelectedConfiguration(); try { runManager.setSelectedConfiguration(selected); new EditConfigurationsDialog(myProject).showAndGet(); } finally { runManager.setSelectedConfiguration(was); } myModel.fireTableDataChanged(); refreshDataUpdateSelection(selected); }