Verified Owner
Top Fields Constructors Methods
org.jabref.gui.ai.summary

public Class AiSummaryShowingViewModel

extends AbstractViewModel
Class Inheritance
Imports
java.io.IOException, java.nio.file.Files, .StandardOpenOption, javafx.beans.property.BooleanProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleObjectProperty, javafx.event.ActionEvent, .EventHandler, org.jabref.gui.AbstractViewModel, .DialogService, org.jabref.gui.util.BindingsHelper, .FileDialogConfiguration, org.jabref.logic.ai.preferences.AiPreferences, org.jabref.logic.ai.summarization.exporters.AiSummaryJsonExporter, .AiSummaryMarkdownExporter, org.jabref.logic.bibtex.FieldPreferences, org.jabref.logic.l10n.Localization, org.jabref.logic.util.Directories, .StandardFileType, org.jabref.model.ai.AiMetadata, org.jabref.model.ai.identifiers.FullBibEntry, org.jabref.model.ai.summarization.AiSummary, org.jabref.model.entry.BibEntryTypesManager, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final AiPreferences
private final DialogService
private final ObjectProperty<FullBibEntry>
private final BibEntryTypesManager
private final FieldPreferences
private final BooleanProperty
private static final Logger
private final ObjectProperty<EventHandler<ActionEvent>>
private final ObjectProperty<EventHandler<ActionEvent>>
private final ObjectProperty<AiSummary>

Constructor Summary

AccessConstructor and Description
public
AiSummaryShowingViewModel(AiPreferences aiPreferences, FieldPreferences fieldPreferences, BibEntryTypesManager entryTypesManager, DialogService dialogService)

Method Summary

Modifier and TypeMethod and Description
public ObjectProperty<FullBibEntry>
public void
public void
public BooleanProperty
public ObjectProperty<EventHandler<ActionEvent>>
public ObjectProperty<EventHandler<ActionEvent>>
public void
public void
public ObjectProperty<AiSummary>

Field Detail

aiPreferencesback to summary
private final AiPreferences aiPreferences
dialogServiceback to summary
private final DialogService dialogService
entryback to summary
private final ObjectProperty<FullBibEntry> entry
entryTypesManagerback to summary
private final BibEntryTypesManager entryTypesManager
fieldPreferencesback to summary
private final FieldPreferences fieldPreferences
isMarkdownback to summary
private final BooleanProperty isMarkdown
LOGGERback to summary
private static final Logger LOGGER
onRegenerateback to summary
private final ObjectProperty<EventHandler<ActionEvent>> onRegenerate
onRegenerateCustomback to summary
private final ObjectProperty<EventHandler<ActionEvent>> onRegenerateCustom
summaryback to summary
private final ObjectProperty<AiSummary> summary

Constructor Detail

AiSummaryShowingViewModelback to summary
public AiSummaryShowingViewModel(AiPreferences aiPreferences, FieldPreferences fieldPreferences, BibEntryTypesManager entryTypesManager, DialogService dialogService)

Method Detail

entryPropertyback to summary
public ObjectProperty<FullBibEntry> entryProperty()
exportJsonback to summary
public void exportJson()
exportMarkdownback to summary
public void exportMarkdown()
isMarkdownPropertyback to summary
public BooleanProperty isMarkdownProperty()
onRegenerateCustomPropertyback to summary
public ObjectProperty<EventHandler<ActionEvent>> onRegenerateCustomProperty()
onRegeneratePropertyback to summary
public ObjectProperty<EventHandler<ActionEvent>> onRegenerateProperty()
regenerateback to summary
public void regenerate()
regenerateCustomback to summary
public void regenerateCustom()
summaryPropertyback to summary
public ObjectProperty<AiSummary> summaryProperty()