Verified Owner
Top Fields Constructors Methods
org.jabref.gui.libraryproperties.saving

public Class SavingPropertiesViewModel

extends Object
implements PropertiesTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.libraryproperties.PropertiesTabViewModel
Imports
java.util.ArrayList, .List, .Optional, .Set, javafx.beans.property.BooleanProperty, .ListProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleListProperty, .SimpleObjectProperty, javafx.collections.FXCollections, org.jabref.gui.commonfxcontrols.SortCriterionViewModel, org.jabref.gui.libraryproperties.PropertiesTabViewModel, org.jabref.logic.cleanup.FieldFormatterCleanup, .FieldFormatterCleanupActions, org.jabref.logic.journals.AbbreviationType, org.jabref.model.entry.field.Field, .FieldFactory, .InternalField, .StandardField, org.jabref.model.metadata.MetaData, .SaveOrder

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final ListProperty<FieldFormatterCleanup>
private final FieldFormatterCleanupActions
private final ObjectProperty<AbbreviationType>
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private SaveOrder
saveOrder

The order the dialog was opened with, which storeSettings compares against so that leaving the controls alone writes nothing.

private final ListProperty<Field>
private final ListProperty<SortCriterionViewModel>
private static final SaveOrder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public ListProperty<FieldFormatterCleanup>
public ObjectProperty<AbbreviationType>
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public void
public ListProperty<Field>
public ListProperty<SortCriterionViewModel>
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cleanupsDisablePropertyback to summary
private final BooleanProperty cleanupsDisableProperty
cleanupsPropertyback to summary
private final ListProperty<FieldFormatterCleanup> cleanupsProperty
defaultSaveActionsback to summary
private final FieldFormatterCleanupActions defaultSaveActions
journalAbbreviationOnSavePropertyback to summary
private final ObjectProperty<AbbreviationType> journalAbbreviationOnSaveProperty
libraryProtectedPropertyback to summary
private final BooleanProperty libraryProtectedProperty
protectDisablePropertyback to summary
private final BooleanProperty protectDisableProperty
saveInOriginalPropertyback to summary
private final BooleanProperty saveInOriginalProperty
saveInSpecifiedOrderPropertyback to summary
private final BooleanProperty saveInSpecifiedOrderProperty
saveInTableOrderPropertyback to summary
private final BooleanProperty saveInTableOrderProperty
saveOrderback to summary
private SaveOrder saveOrder

The order the dialog was opened with, which storeSettings compares against so that leaving the controls alone writes nothing.

sortableFieldsPropertyback to summary
private final ListProperty<Field> sortableFieldsProperty
sortCriteriaPropertyback to summary
private final ListProperty<SortCriterionViewModel> sortCriteriaProperty
UI_DEFAULT_SAVE_ORDERback to summary
private static final SaveOrder UI_DEFAULT_SAVE_ORDER

Constructor Detail

SavingPropertiesViewModelback to summary
public SavingPropertiesViewModel(FieldFormatterCleanupActions defaultSaveActions)

Method Detail

cleanupsDisablePropertyback to summary
public BooleanProperty cleanupsDisableProperty()
cleanupsPropertyback to summary
public ListProperty<FieldFormatterCleanup> cleanupsProperty()
journalAbbreviationOnSavePropertyback to summary
public ObjectProperty<AbbreviationType> journalAbbreviationOnSaveProperty()
libraryProtectedPropertyback to summary
public BooleanProperty libraryProtectedProperty()
protectDisablePropertyback to summary
public BooleanProperty protectDisableProperty()
saveInOriginalPropertyback to summary
public BooleanProperty saveInOriginalProperty()
saveInSpecifiedOrderPropertyback to summary
public BooleanProperty saveInSpecifiedOrderProperty()
saveInTableOrderPropertyback to summary
public BooleanProperty saveInTableOrderProperty()
setValuesback to summary
public void setValues(MetaData metaData)

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

Doc from org.jabref.gui.libraryproperties.PropertiesTabViewModel.setValues.

Fills this tab's controls from metaData — see PropertiesTab#setValues(MetaData).

Annotations
@Override
sortableFieldsPropertyback to summary
public ListProperty<Field> sortableFieldsProperty()
sortCriteriaPropertyback to summary
public ListProperty<SortCriterionViewModel> sortCriteriaProperty()
storeSettingsback to summary
public void storeSettings(MetaData metaData)

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

Doc from org.jabref.gui.libraryproperties.PropertiesTabViewModel.storeSettings.

Writes this tab's settings into metaData — see PropertiesTab#storeSettings(MetaData). A tab whose settings are not metadata, such as the preamble, ignores it and records its own change.

Annotations
@Override