Top Fields Constructors Methods
org.jabref.gui.importer

public Class ImportEntriesDialog

extends BaseDialog<Boolean>
Class Inheritance
Imports
java.util.Optional, javax.swing.undo.UndoManager, javafx.beans.binding.Bindings, .BooleanBinding, javafx.css.PseudoClass, javafx.fxml.FXML, javafx.geometry.Insets, javafx.scene.Node, javafx.scene.control.Button, .ButtonType, .CheckBox, .ComboBox, .Label, .ToggleButton, .Tooltip, javafx.scene.layout.Border, .BorderStroke, .BorderStrokeStyle, .BorderWidths, .CornerRadii, .HBox, .Priority, .VBox, javafx.scene.paint.Color, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.entryeditor.citationrelationtab.BibEntryView, org.jabref.gui.icon.IconTheme, org.jabref.gui.util.BackgroundTask, .BaseDialog, .NoSelectionModel, .TaskExecutor, .ViewModelListCellFactory, org.jabref.logic.importer.ParserResult, org.jabref.logic.l10n.Localization, org.jabref.logic.shared.DatabaseLocation, org.jabref.logic.util.io.FileUtil, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .BibEntryTypesManager, org.jabref.model.util.FileUpdateMonitor, org.jabref.preferences.PreferencesService, com.airhacks.afterburner.views.ViewLoader, com.tobiasdiez.easybind.EasyBind, jakarta.inject.Inject, org.controlsfx.control.CheckListView, org.fxmisc.richtext.CodeArea

Field Summary

Modifier and TypeField and Description
private org.fxmisc.richtext.CodeArea
private VBox
private Label
private final BibDatabaseContext
private DialogService
private CheckBox
private org.controlsfx.control.CheckListView<BibEntry>
private BibEntryTypesManager
private FileUpdateMonitor
private ButtonType
private ComboBox<BibDatabaseContext>
private PreferencesService
private Label
private CheckBox
private StateManager
private final BackgroundTask<ParserResult>
private TaskExecutor
private Label
private UndoManager
private ImportEntriesViewModel

Constructor Summary

AccessConstructor and Description
public
ImportEntriesDialog(BibDatabaseContext
the database to import into
database
,
BackgroundTask<ParserResult>
the task executed for parsing the selected files(s).
task
)

Imports the given entries into the given database.

Method Summary

Modifier and TypeMethod and Description
private void
displayBibTeX(BibEntry entry, String bibTeX)

private void
private void
public void
public void
public void

Field Detail

bibTeXDataback to summary
private org.fxmisc.richtext.CodeArea bibTeXData
Annotations
@FXML
bibTeXDataBoxback to summary
private VBox bibTeXDataBox
Annotations
@FXML
bibTeXDataLabelback to summary
private Label bibTeXDataLabel
Annotations
@FXML
databaseback to summary
private final BibDatabaseContext database
dialogServiceback to summary
private DialogService dialogService
Annotations
@Inject
downloadLinkedOnlineFilesback to summary
private CheckBox downloadLinkedOnlineFiles
Annotations
@FXML
entriesListViewback to summary
private org.controlsfx.control.CheckListView<BibEntry> entriesListView
Annotations
@FXML
entryTypesManagerback to summary
private BibEntryTypesManager entryTypesManager
Annotations
@Inject
fileUpdateMonitorback to summary
private FileUpdateMonitor fileUpdateMonitor
Annotations
@Inject
importButtonback to summary
private ButtonType importButton
Annotations
@FXML
libraryListViewback to summary
private ComboBox<BibDatabaseContext> libraryListView
Annotations
@FXML
preferencesback to summary
private PreferencesService preferences
Annotations
@Inject
selectedItemsback to summary
private Label selectedItems
Annotations
@FXML
showEntryInformationback to summary
private CheckBox showEntryInformation
Annotations
@FXML
stateManagerback to summary
private StateManager stateManager
Annotations
@Inject
taskback to summary
private final BackgroundTask<ParserResult> task
taskExecutorback to summary
private TaskExecutor taskExecutor
Annotations
@Inject
totalItemsback to summary
private Label totalItems
Annotations
@FXML
undoManagerback to summary
private UndoManager undoManager
Annotations
@Inject
viewModelback to summary
private ImportEntriesViewModel viewModel

Constructor Detail

ImportEntriesDialogback to summary
public ImportEntriesDialog(BibDatabaseContext database, BackgroundTask<ParserResult> task)

Imports the given entries into the given database. The entries are provided using the BackgroundTask

Parameters
database:BibDatabaseContext

the database to import into

task:BackgroundTask<ParserResult>

the task executed for parsing the selected files(s).

Method Detail

displayBibTeXback to summary
private void displayBibTeX(BibEntry entry, String bibTeX)
initBibTeXback to summary
private void initBibTeX()
initializeback to summary
private void initialize()
Annotations
@FXML
selectAllEntriesback to summary
public void selectAllEntries()
selectAllNewEntriesback to summary
public void selectAllNewEntries()
unselectAllback to summary
public void unselectAll()