void (@NotNull List<? extends CommittedChangeList> changeLists) { final List<String> oldSelection = myModel.isEmpty() ? myPreferredSelection : myValueList.getSelectedValuesList(); myModel.addNext(changeLists, ourConvertorInstance); if (oldSelection != null) { for (@Nls String o : oldSelection) { myValueList.setSelectedValue(o, false); } } myValueList.revalidate(); myValueList.repaint(); }