Verified Owner
Top Fields Constructors Methods
org.jabref.gui.fieldeditors

public Class GroupsEditorViewModel

extends AbstractEditorViewModel
Class Inheritance
Imports
java.util.ArrayList, .List, javafx.beans.property.ListProperty, .SimpleListProperty, javafx.collections.FXCollections, javafx.util.StringConverter, org.jabref.gui.autocompleter.SuggestionProvider, org.jabref.gui.util.BindingsHelper, org.jabref.logic.integrity.FieldCheckers, org.jabref.logic.undo.UndoManager, org.jabref.model.entry.Keyword, .KeywordList, org.jabref.model.entry.field.Field, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final ListProperty<Keyword>
private final Character
private static final Logger
private final SuggestionProvider<?>
Inherited from org.jabref.gui.fieldeditors.AbstractEditorViewModel:
entryfieldtextundoManager

Constructor Summary

AccessConstructor and Description
public
GroupsEditorViewModel(Field field, SuggestionProvider<?> suggestionProvider, FieldCheckers fieldCheckers, Character groupSeparator, UndoManager undoManager)

Method Summary

Modifier and TypeMethod and Description
public Character
pack-priv static StringConverter<Keyword>
public List<Keyword>
public ListProperty<Keyword>
private List<Keyword>
private String
Inherited from org.jabref.gui.fieldeditors.AbstractEditorViewModel:
bindToEntrycompletegetFieldValidatortextProperty

Field Detail

groupListPropertyback to summary
private final ListProperty<Keyword> groupListProperty
groupSeparatorback to summary
private final Character groupSeparator
LOGGERback to summary
private static final Logger LOGGER
suggestionProviderback to summary
private final SuggestionProvider<?> suggestionProvider

Hides org.jabref.gui.fieldeditors.AbstractEditorViewModel.suggestionProvider.

Constructor Detail

GroupsEditorViewModelback to summary
public GroupsEditorViewModel(Field field, SuggestionProvider<?> suggestionProvider, FieldCheckers fieldCheckers, Character groupSeparator, UndoManager undoManager)

Method Detail

getGroupSeparatorback to summary
public Character getGroupSeparator()
getStringConverterback to summary
pack-priv static StringConverter<Keyword> getStringConverter()
getSuggestionsback to summary
public List<Keyword> getSuggestions(String request)
groupListPropertyback to summary
public ListProperty<Keyword> groupListProperty()
parseGroupsback to summary
private List<Keyword> parseGroups(String newText)
serializeGroupsback to summary
private String serializeGroups(List<Keyword> groups)