void (AnActionButton button) { int row = myPropertiesTable.getSelectedRow(); if (row >= 0 && row < mySelectedProperties.size()) { myManager.removeConfiguredProperty(mySelectedClass, mySelectedProperties.get(row).getName()); updateSelectedProperties(); if (!mySelectedProperties.isEmpty()) { if (row >= mySelectedProperties.size()) { row--; } myPropertiesTable.getSelectionModel().setSelectionInterval(row, row); } } }