Verified Owner
Top Inners Fields Constructors Methods
org.jabref.gui.mergeentries.multiwaymerge

public Class MultiMergeEntriesViewModel

extends AbstractViewModel
Class Inheritance
Imports
java.util.HashMap, .HashSet, .LinkedHashMap, .Locale, .Map, .Optional, .Set, java.util.function.Supplier, javafx.beans.property.BooleanProperty, .ListProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleListProperty, .SimpleObjectProperty, .SimpleStringProperty, .StringProperty, javafx.collections.FXCollections, javafx.scene.control.ButtonType, org.jabref.gui.AbstractViewModel, org.jabref.gui.mergeentries.FetchAndMergeEntry, org.jabref.logic.bibtex.comparator.ComparisonResult, org.jabref.logic.bibtex.comparator.plausibility.PlausibilityComparatorFactory, org.jabref.logic.util.BackgroundTask, .TaskExecutor, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.Field, .StandardField, org.jabref.model.entry.identifier.ArXivIdentifier, .DOI, .ISBN, .ISSN, org.jabref.model.entry.types.StandardEntryType, org.jspecify.annotations.Nullable

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final Map<Field, Set<String>>
private final ListProperty<MultiMergeEntriesViewModel.EntrySource>
private final Set<Field>
private final ListProperty<String>
private final ObjectProperty<BibEntry>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public ListProperty<MultiMergeEntriesViewModel.EntrySource>
public ListProperty<String>
public Map<Field, String>
public ObjectProperty<BibEntry>
private static Optional<String>
normalizeIdentifier(Field field, String rawValue)

private static Optional<String>
public BibEntry
public void
public void

Field Detail

autoFetchedIdentifiersback to summary
private final Map<Field, Set<String>> autoFetchedIdentifiers
entriesback to summary
private final ListProperty<MultiMergeEntriesViewModel.EntrySource> entries
explicitlyClearedFieldsback to summary
private final Set<Field> explicitlyClearedFields
failedSuppliersback to summary
private final ListProperty<String> failedSuppliers
mergedEntryback to summary
private final ObjectProperty<BibEntry> mergedEntry

Constructor Detail

MultiMergeEntriesViewModelback to summary
public MultiMergeEntriesViewModel()

Method Detail

addSourceback to summary
public void addSource(MultiMergeEntriesViewModel.EntrySource entrySource)
entriesPropertyback to summary
public ListProperty<MultiMergeEntriesViewModel.EntrySource> entriesProperty()
failedSuppliersPropertyback to summary
public ListProperty<String> failedSuppliersProperty()
findNewFetchableIdentifiersback to summary
public Map<Field, String> findNewFetchableIdentifiers(BibEntry entry)
mergedEntryPropertyback to summary
public ObjectProperty<BibEntry> mergedEntryProperty()
normalizeIdentifierback to summary
private static Optional<String> normalizeIdentifier(Field field, String rawValue)
normalizeIssnback to summary
private static Optional<String> normalizeIssn(String rawValue)
resultConverterback to summary
public BibEntry resultConverter(ButtonType button)
setMergedFieldValueback to summary
public void setMergedFieldValue(Field field, @Nullable String value)
updateFieldsback to summary
public void updateFields(BibEntry entry)
org.jabref.gui.mergeentries.multiwaymerge back to summary

public Class MultiMergeEntriesViewModel.EntrySource

extends Object
Class Inheritance
  • java.lang.Object
  • org.jabref.gui.mergeentries.multiwaymerge.MultiMergeEntriesViewModel.EntrySource

Field Summary

Modifier and TypeField and Description
private final ObjectProperty<BibEntry>
private final BooleanProperty
private final StringProperty

Constructor Summary

AccessConstructor and Description
public
EntrySource(String title, Supplier<BibEntry> entrySupplier, TaskExecutor taskExecutor)

public
EntrySource(String title, BibEntry entry)

Method Summary

Modifier and TypeMethod and Description
public ObjectProperty<BibEntry>
public BooleanProperty
public StringProperty
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

entryback to summary
private final ObjectProperty<BibEntry> entry
isLoadingback to summary
private final BooleanProperty isLoading
titleback to summary
private final StringProperty title

Constructor Detail

EntrySourceback to summary
public EntrySource(String title, Supplier<BibEntry> entrySupplier, TaskExecutor taskExecutor)
EntrySourceback to summary
public EntrySource(String title, BibEntry entry)

Method Detail

entryPropertyback to summary
public ObjectProperty<BibEntry> entryProperty()
isLoadingPropertyback to summary
public BooleanProperty isLoadingProperty()
titlePropertyback to summary
public StringProperty titleProperty()