Top Fields Constructors Methods
org.jabref.gui.libraryproperties.constants

public Class ConstantsPropertiesViewModel

extends Object
implements PropertiesTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.libraryproperties.PropertiesTabViewModel
Imports
java.util.Comparator, .List, .Locale, .Optional, javafx.beans.property.BooleanProperty, .ListProperty, .SimpleBooleanProperty, .SimpleListProperty, javafx.beans.value.ObservableValue, javafx.collections.FXCollections, .ObservableList, org.jabref.gui.DialogService, org.jabref.gui.help.HelpAction, org.jabref.gui.libraryproperties.PropertiesTabViewModel, org.jabref.logic.bibtex.comparator.BibtexStringComparator, org.jabref.logic.help.HelpFile, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibtexString, org.jabref.preferences.FilePreferences, com.tobiasdiez.easybind.EasyBind

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final DialogService
private final FilePreferences
private static final String
private final ListProperty<ConstantsItemModel>
private final BooleanProperty

Constructor Summary

AccessConstructor and Description
public
ConstantsPropertiesViewModel(BibDatabaseContext databaseContext, DialogService dialogService, FilePreferences filePreferences)

Method Summary

Modifier and TypeMethod and Description
public void
private ConstantsItemModel
private BibtexString
public Optional<ConstantsItemModel>
public void
public void
public void
public void
public void
public ListProperty<ConstantsItemModel>
public BooleanProperty
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databaseContextback to summary
private final BibDatabaseContext databaseContext
dialogServiceback to summary
private final DialogService dialogService
filePreferencesback to summary
private final FilePreferences filePreferences
NEW_STRING_LABELback to summary
private static final String NEW_STRING_LABEL
stringsListPropertyback to summary
private final ListProperty<ConstantsItemModel> stringsListProperty
validPropertyback to summary
private final BooleanProperty validProperty

Constructor Detail

ConstantsPropertiesViewModelback to summary
public ConstantsPropertiesViewModel(BibDatabaseContext databaseContext, DialogService dialogService, FilePreferences filePreferences)

Method Detail

addNewStringback to summary
public void addNewString()
convertFromBibTexStringback to summary
private ConstantsItemModel convertFromBibTexString(BibtexString bibtexString)
fromBibtexStringViewModelback to summary
private BibtexString fromBibtexStringViewModel(ConstantsItemModel viewModel)
labelAlreadyExistsback to summary
public Optional<ConstantsItemModel> labelAlreadyExists(String label)
openHelpPageback to summary
public void openHelpPage()
removeStringback to summary
public void removeString(ConstantsItemModel item)
resortStringsback to summary
public void resortStrings()
setValuesback to summary
public void setValues()

Implements org.jabref.gui.libraryproperties.PropertiesTabViewModel.setValues.

Annotations
@Override
storeSettingsback to summary
public void storeSettings()

Implements org.jabref.gui.libraryproperties.PropertiesTabViewModel.storeSettings.

Annotations
@Override
stringsListPropertyback to summary
public ListProperty<ConstantsItemModel> stringsListProperty()
validPropertyback to summary
public BooleanProperty validProperty()