Top Fields Constructors Methods
org.jabref.gui.preferences

public Class PreferencesDialogViewModel

extends AbstractViewModel
Class Inheritance
Imports
java.util.ArrayList, .List, java.util.prefs.BackingStoreException, javafx.beans.property.BooleanProperty, .ReadOnlyListWrapper, .SimpleBooleanProperty, javafx.collections.FXCollections, .ObservableList, org.jabref.gui.AbstractViewModel, .DialogService, org.jabref.gui.preferences.autocompletion.AutoCompletionTab, org.jabref.gui.preferences.citationkeypattern.CitationKeyPatternTab, org.jabref.gui.preferences.customentrytypes.CustomEntryTypesTab, org.jabref.gui.preferences.customexporter.CustomExporterTab, org.jabref.gui.preferences.customimporter.CustomImporterTab, org.jabref.gui.preferences.entry.EntryTab, org.jabref.gui.preferences.entryeditor.EntryEditorTab, org.jabref.gui.preferences.export.ExportTab, org.jabref.gui.preferences.external.ExternalTab, org.jabref.gui.preferences.externalfiletypes.ExternalFileTypesTab, org.jabref.gui.preferences.general.GeneralTab, org.jabref.gui.preferences.groups.GroupsTab, org.jabref.gui.preferences.journals.JournalAbbreviationsTab, org.jabref.gui.preferences.keybindings.KeyBindingsTab, org.jabref.gui.preferences.linkedfiles.LinkedFilesTab, org.jabref.gui.preferences.nameformatter.NameFormatterTab, org.jabref.gui.preferences.network.NetworkTab, org.jabref.gui.preferences.preview.PreviewTab, org.jabref.gui.preferences.protectedterms.ProtectedTermsTab, org.jabref.gui.preferences.table.TableTab, org.jabref.gui.preferences.websearch.WebSearchTab, org.jabref.gui.preferences.xmp.XmpPrivacyTab, org.jabref.gui.util.FileDialogConfiguration, org.jabref.logic.JabRefException, org.jabref.logic.l10n.Localization, org.jabref.logic.util.StandardFileType, org.jabref.model.entry.BibEntryTypesManager, org.jabref.preferences.PreferencesFilter, .PreferencesService, com.airhacks.afterburner.injection.Injector, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final DialogService
private static final Logger
private final SimpleBooleanProperty
private final PreferencesService
private final ObservableList<PreferencesTab>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public BooleanProperty
public ObservableList<PreferencesTab>
public void
public void
public void
setValues()

Inserts the preference values into the Properties of the ViewModel

public void
public void
public boolean
validSettings()

Checks if all tabs are valid

Field Detail

dialogServiceback to summary
private final DialogService dialogService
LOGGERback to summary
private static final Logger LOGGER
memoryStickPropertyback to summary
private final SimpleBooleanProperty memoryStickProperty
preferencesback to summary
private final PreferencesService preferences
preferenceTabsback to summary
private final ObservableList<PreferencesTab> preferenceTabs

Constructor Detail

PreferencesDialogViewModelback to summary
public PreferencesDialogViewModel(DialogService dialogService, PreferencesService preferences)

Method Detail

exportPreferencesback to summary
public void exportPreferences()
getMemoryStickPropertyback to summary
public BooleanProperty getMemoryStickProperty()
getPreferenceTabsback to summary
public ObservableList<PreferencesTab> getPreferenceTabs()
importPreferencesback to summary
public void importPreferences()
resetPreferencesback to summary
public void resetPreferences()
setValuesback to summary
public void setValues()

Inserts the preference values into the Properties of the ViewModel

showPreferencesback to summary
public void showPreferences()
storeAllSettingsback to summary
public void storeAllSettings()
validSettingsback to summary
public boolean validSettings()

Checks if all tabs are valid