Verified Owner
Top Fields Constructors Methods
org.jabref.gui.importer.fetcher

public Class WebSearchPaneViewModel

extends Object
Class Inheritance
Imports
java.util.concurrent.Callable, javafx.beans.property.ListProperty, .ObjectProperty, .ReadOnlyStringProperty, .ReadOnlyStringWrapper, .SimpleListProperty, .SimpleObjectProperty, .SimpleStringProperty, .StringProperty, javafx.collections.FXCollections, .ObservableList, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.frame.SidePanePreferences, org.jabref.gui.importer.ImportEntriesDialog, org.jabref.gui.preferences.GuiPreferences, org.jabref.logic.importer.CompositeIdFetcher, .ParserResult, .SearchBasedFetcher, .WebFetchers, org.jabref.logic.importer.fetcher.DoiFetcher, org.jabref.logic.l10n.Localization, org.jabref.logic.util.BackgroundTask, org.jabref.logic.util.strings.StringUtil, org.jabref.model.entry.identifier.DOI, org.jabref.model.search.query.SearchQuery, org.jabref.model.util.OptionalUtil, com.tobiasdiez.easybind.EasyBind, de.saxsys.mvvmfx.utils.validation.FunctionBasedValidator, de.saxsys.mvvmfx.utils.validation.ValidationMessage, de.saxsys.mvvmfx.utils.validation.ValidationStatus, de.saxsys.mvvmfx.utils.validation.Validator, org.antlr.v4.runtime.RecognitionException, .Token, org.antlr.v4.runtime.misc.ParseCancellationException

Field Summary

Modifier and TypeField and Description
private final DialogService
private final ListProperty<SearchBasedFetcher>
private final GuiPreferences
private final StringProperty
private final ReadOnlyStringWrapper
private final de.saxsys.mvvmfx.utils.validation.Validator
private final ObjectProperty<SearchBasedFetcher>
private final StateManager

Constructor Summary

AccessConstructor and Description
public
WebSearchPaneViewModel(GuiPreferences preferences, DialogService dialogService, StateManager stateManager)

Method Summary

Modifier and TypeMethod and Description
public ListProperty<SearchBasedFetcher>
public ObservableList<SearchBasedFetcher>
public String
public SearchBasedFetcher
public StringProperty
public de.saxsys.mvvmfx.utils.validation.ValidationStatus
public void
public ReadOnlyStringProperty
public ObjectProperty<SearchBasedFetcher>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dialogServiceback to summary
private final DialogService dialogService
fetchersback to summary
private final ListProperty<SearchBasedFetcher> fetchers
preferencesback to summary
private final GuiPreferences preferences
queryback to summary
private final StringProperty query
searchModeIndicatorback to summary
private final ReadOnlyStringWrapper searchModeIndicator
searchQueryValidatorback to summary
private final de.saxsys.mvvmfx.utils.validation.Validator searchQueryValidator
selectedFetcherback to summary
private final ObjectProperty<SearchBasedFetcher> selectedFetcher
stateManagerback to summary
private final StateManager stateManager

Constructor Detail

WebSearchPaneViewModelback to summary
public WebSearchPaneViewModel(GuiPreferences preferences, DialogService dialogService, StateManager stateManager)

Method Detail

fetchersPropertyback to summary
public ListProperty<SearchBasedFetcher> fetchersProperty()
getFetchersback to summary
public ObservableList<SearchBasedFetcher> getFetchers()
getQueryback to summary
public String getQuery()
getSelectedFetcherback to summary
public SearchBasedFetcher getSelectedFetcher()
queryPropertyback to summary
public StringProperty queryProperty()
queryValidationStatusback to summary
public de.saxsys.mvvmfx.utils.validation.ValidationStatus queryValidationStatus()
searchback to summary
public void search()
searchModeIndicatorPropertyback to summary
public ReadOnlyStringProperty searchModeIndicatorProperty()
selectedFetcherPropertyback to summary
public ObjectProperty<SearchBasedFetcher> selectedFetcherProperty()