void (List<VirtualFile> files) { ApplicationManager.getApplication().invokeLater(() -> { myFindPopupPanel.getCanClose().set(true); IdeFocusManager.getInstance(myProject).requestFocus(myDirectoryComboBox.getEditor().getEditorComponent(), true); myHelper.getModel().setDirectoryName(files.get(0).getPresentableUrl()); myDirectoryComboBox.getEditor().setItem(files.get(0).getPresentableUrl()); }); }