use of org.jabref.logic.autocompleter.AutoCompleterFactory in project jabref by JabRef.
the class BasePanel method instantiateSearchAutoCompleter.
private void instantiateSearchAutoCompleter() {
AutoCompletePreferences autoCompletePreferences = new AutoCompletePreferences(Globals.prefs);
AutoCompleterFactory autoCompleterFactory = new AutoCompleterFactory(autoCompletePreferences, Globals.journalAbbreviationLoader);
searchAutoCompleter = autoCompleterFactory.getPersonAutoCompleter();
for (BibEntry entry : bibDatabaseContext.getDatabase().getEntries()) {
searchAutoCompleter.addBibtexEntry(entry);
}
}
Aggregations