Top Fields Constructors Methods
org.jabref.gui.preferences.entryeditor

public Class EntryEditorTabViewModel

extends Object
implements PreferenceTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferenceTabViewModel
Imports
java.util.LinkedHashMap, .Map, .Set, javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, .SimpleStringProperty, .StringProperty, org.jabref.gui.DialogService, org.jabref.gui.entryeditor.EntryEditorPreferences, org.jabref.gui.preferences.PreferenceTabViewModel, org.jabref.logic.citationkeypattern.CitationKeyGenerator, org.jabref.logic.l10n.Localization, org.jabref.model.entry.field.Field, .FieldFactory, org.jabref.preferences.MrDlibPreferences, .PreferencesService

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final DialogService
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final EntryEditorPreferences
private final StringProperty
private final BooleanProperty
private final MrDlibPreferences
private final BooleanProperty
private final PreferencesService
private final BooleanProperty

Constructor Summary

AccessConstructor and Description
public
EntryEditorTabViewModel(DialogService dialogService, PreferencesService preferencesService)

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public StringProperty
public BooleanProperty
public BooleanProperty
public void
private void
setFields(Map<String, Set<Field>> tabNamesAndFields)

public void
setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden.

public BooleanProperty
public void
storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

This method is called when the user presses OK in the Preferences dialog.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

acceptRecommendationsPropertyback to summary
private final BooleanProperty acceptRecommendationsProperty
allowIntegerEditionPropertyback to summary
private final BooleanProperty allowIntegerEditionProperty
autoLinkEnabledPropertyback to summary
private final BooleanProperty autoLinkEnabledProperty
defaultSourcePropertyback to summary
private final BooleanProperty defaultSourceProperty
dialogServiceback to summary
private final DialogService dialogService
enableLatexCitationsTabPropertyback to summary
private final BooleanProperty enableLatexCitationsTabProperty
enableRelatedArticlesTabPropertyback to summary
private final BooleanProperty enableRelatedArticlesTabProperty
enableSciteTabPropertyback to summary
private final BooleanProperty enableSciteTabProperty
enableValidationPropertyback to summary
private final BooleanProperty enableValidationProperty
entryEditorPreferencesback to summary
private final EntryEditorPreferences entryEditorPreferences
fieldsPropertyback to summary
private final StringProperty fieldsProperty
journalPopupPropertyback to summary
private final BooleanProperty journalPopupProperty
mrDlibPreferencesback to summary
private final MrDlibPreferences mrDlibPreferences
openOnNewEntryPropertyback to summary
private final BooleanProperty openOnNewEntryProperty
preferencesServiceback to summary
private final PreferencesService preferencesService
showUserCommentsPropertyback to summary
private final BooleanProperty showUserCommentsProperty

Constructor Detail

EntryEditorTabViewModelback to summary
public EntryEditorTabViewModel(DialogService dialogService, PreferencesService preferencesService)

Method Detail

acceptRecommendationsPropertyback to summary
public BooleanProperty acceptRecommendationsProperty()
allowIntegerEditionPropertyback to summary
public BooleanProperty allowIntegerEditionProperty()
autoLinkFilesEnabledPropertyback to summary
public BooleanProperty autoLinkFilesEnabledProperty()
defaultSourcePropertyback to summary
public BooleanProperty defaultSourceProperty()
enableLatexCitationsTabPropertyback to summary
public BooleanProperty enableLatexCitationsTabProperty()
enableRelatedArticlesTabPropertyback to summary
public BooleanProperty enableRelatedArticlesTabProperty()
enableSciteTabPropertyback to summary
public BooleanProperty enableSciteTabProperty()
enableValidationPropertyback to summary
public BooleanProperty enableValidationProperty()
fieldsPropertyback to summary
public StringProperty fieldsProperty()
journalPopupPropertyback to summary
public BooleanProperty journalPopupProperty()
openOnNewEntryPropertyback to summary
public BooleanProperty openOnNewEntryProperty()
resetToDefaultsback to summary
public void resetToDefaults()
setFieldsback to summary
private void setFields(Map<String, Set<Field>> tabNamesAndFields)
setValuesback to summary
public void setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden. The tab should update all its values. This is the ONLY PLACE to set values for the fields in the tab. It is ILLEGAL to set values only at construction time, because the dialog will be reused and updated.

Annotations
@Override
showUserCommentsPropertyback to summary
public BooleanProperty showUserCommentsProperty()
storeSettingsback to summary
public void storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

This method is called when the user presses OK in the Preferences dialog. Implementing classes must make sure all settings presented get stored in PreferencesService.

Annotations
@Override