Verified Owner
Top Fields Constructors Methods
org.jabref.gui.externalfiles

public Class SearchConfigurationPage

extends WizardPane
Class Inheritance
Imports
java.nio.file.Path, java.util.Objects, .Optional, javafx.application.Platform, javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, javafx.geometry.Insets, .Pos, javafx.scene.Node, javafx.scene.control.Button, .ButtonType, .ComboBox, .Label, .TextField, javafx.scene.layout.ColumnConstraints, .GridPane, .HBox, .Priority, .VBox, org.jabref.gui.icon.IconTheme, .JabRefIcon, org.jabref.gui.preferences.GuiPreferences, org.jabref.gui.util.IconValidationDecorator, .ViewModelListCellFactory, org.jabref.logic.externalfiles.DateRange, .ExternalFileSorter, org.jabref.logic.l10n.Localization, org.jabref.logic.util.StandardFileType, org.jabref.model.database.BibDatabaseContext, de.saxsys.mvvmfx.utils.validation.visualization.ControlsFxVisualizer, org.controlsfx.dialog.Wizard, .WizardPane

Field Summary

Modifier and TypeField and Description
private Button
private TextField
private ComboBox<DateRange>
private ComboBox<ExternalFileSorter>
private ComboBox<FileExtensionViewModel>
private final BooleanProperty
private final de.saxsys.mvvmfx.utils.validation.visualization.ControlsFxVisualizer
private final UnlinkedFilesDialogViewModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private JabRefIcon
getIconForExtension(FileExtensionViewModel fileExtension)

Returns the appropriate icon for a file extension.

public BooleanProperty
private void
loadConfiguration(BibDatabaseContext bibDatabaseContext, GuiPreferences preferences)

public void
onEnteringPage(Wizard wizard)

Overrides org.controlsfx.dialog.WizardPane.onEnteringPage.

Called on entering a page.

private void
setupUI(BibDatabaseContext bibDatabaseContext, GuiPreferences preferences)

private void
Inherited from org.controlsfx.dialog.WizardPane:
onExitingPage

Field Detail

browseButtonback to summary
private Button browseButton
directoryPathFieldback to summary
private TextField directoryPathField
fileDateComboback to summary
private ComboBox<DateRange> fileDateCombo
fileSortComboback to summary
private ComboBox<ExternalFileSorter> fileSortCombo
fileTypeComboback to summary
private ComboBox<FileExtensionViewModel> fileTypeCombo
invalidPropertyback to summary
private final BooleanProperty invalidProperty
validationVisualizerback to summary
private final de.saxsys.mvvmfx.utils.validation.visualization.ControlsFxVisualizer validationVisualizer
viewModelback to summary
private final UnlinkedFilesDialogViewModel viewModel

Constructor Detail

SearchConfigurationPageback to summary
public SearchConfigurationPage(UnlinkedFilesDialogViewModel viewModel, BibDatabaseContext bibDatabaseContext, GuiPreferences preferences)

Method Detail

getIconForExtensionback to summary
private JabRefIcon getIconForExtension(FileExtensionViewModel fileExtension)

Returns the appropriate icon for a file extension. Returns null for "Any file" to display no icon.

invalidPropertyback to summary
public BooleanProperty invalidProperty()
loadConfigurationback to summary
private void loadConfiguration(BibDatabaseContext bibDatabaseContext, GuiPreferences preferences)
onEnteringPageback to summary
public void onEnteringPage(Wizard wizard)

Overrides org.controlsfx.dialog.WizardPane.onEnteringPage.

Doc from org.controlsfx.dialog.WizardPane.onEnteringPage.

Called on entering a page. This is a good place to read values from wizard settings and assign them to controls on the page

Annotations
@Override
setupUIback to summary
private void setupUI(BibDatabaseContext bibDatabaseContext, GuiPreferences preferences)
setupValidationback to summary
private void setupValidation()