FilteringGotoByModel<FileTypeRef> (@NotNull Project project) { GotoFileModel model = new GotoFileModel(project); if (myFilter != null) { model.setFilterItems(myFilter.getSelectedElements()); } return model; }