Top Fields Constructors Methods
org.jabref.gui.edit

public Class ManageKeywordsViewModel

extends Object
Class Inheritance
Imports
java.util.List, .Optional, javafx.beans.property.ObjectProperty, .SimpleObjectProperty, javafx.collections.FXCollections, .ObservableList, org.jabref.gui.undo.NamedCompound, .UndoableFieldChange, org.jabref.logic.l10n.Localization, org.jabref.model.FieldChange, org.jabref.model.entry.BibEntry, .Keyword, .KeywordList, org.jabref.preferences.BibEntryPreferences, com.tobiasdiez.easybind.EasyBind

Field Summary

Modifier and TypeField and Description
private final BibEntryPreferences
private final ObjectProperty<ManageKeywordsDisplayType>
private final List<BibEntry>
private final ObservableList<String>
private final KeywordList

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ObjectProperty<ManageKeywordsDisplayType>
private void
public ManageKeywordsDisplayType
public ObservableList<String>
public void
public void
private NamedCompound
updateKeywords(List<BibEntry> entries, KeywordList keywordsToAdd, KeywordList keywordsToRemove)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bibEntryPreferencesback to summary
private final BibEntryPreferences bibEntryPreferences
displayTypeback to summary
private final ObjectProperty<ManageKeywordsDisplayType> displayType
entriesback to summary
private final List<BibEntry> entries
keywordsback to summary
private final ObservableList<String> keywords
sortedKeywordsOfAllEntriesBeforeUpdateByUserback to summary
private final KeywordList sortedKeywordsOfAllEntriesBeforeUpdateByUser

Constructor Detail

ManageKeywordsViewModelback to summary
public ManageKeywordsViewModel(BibEntryPreferences bibEntryPreferences, List<BibEntry> entries)

Method Detail

displayTypePropertyback to summary
public ObjectProperty<ManageKeywordsDisplayType> displayTypeProperty()
fillKeywordsListback to summary
private void fillKeywordsList(ManageKeywordsDisplayType type)
getDisplayTypeback to summary
public ManageKeywordsDisplayType getDisplayType()
getKeywordsback to summary
public ObservableList<String> getKeywords()
removeKeywordback to summary
public void removeKeyword(String keyword)
saveChangesback to summary
public void saveChanges()
updateKeywordsback to summary
private NamedCompound updateKeywords(List<BibEntry> entries, KeywordList keywordsToAdd, KeywordList keywordsToRemove)