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

public Class ExistingStudySearchAction

extends SimpleCommand
Class Inheritance
Known Direct Subclasses
org.jabref.gui.slr.StartNewStudyAction
Imports
java.io.IOException, java.nio.file.Path, java.util.function.Supplier, org.jabref.gui.DialogService, .LibraryTabContainer, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, org.jabref.gui.importer.actions.OpenDatabaseAction, org.jabref.logic.JabRefException, org.jabref.logic.crawler.Crawler, org.jabref.logic.git.SlrGitHandler, org.jabref.logic.importer.ParseException, org.jabref.logic.l10n.Localization, org.jabref.logic.preferences.CliPreferences, org.jabref.logic.util.BackgroundTask, .TaskExecutor, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntryTypesManager, org.jabref.model.util.FileUpdateMonitor, org.eclipse.jgit.api.errors.GitAPIException, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
protected final DialogService
private final FileUpdateMonitor
private static final Logger
private final Supplier<OpenDatabaseAction>
protected final CliPreferences
protected final StateManager
protected Path
private final LibraryTabContainer
private final TaskExecutor
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
ExistingStudySearchAction(LibraryTabContainer
Required to close the tab before the study is updated
tabContainer
,
Supplier<OpenDatabaseAction>
Required to open the tab after the study is executed
openDatabaseActionSupplier
,
DialogService dialogService, FileUpdateMonitor fileUpdateMonitor, TaskExecutor taskExecutor, CliPreferences preferences, StateManager stateManager)

protected
ExistingStudySearchAction(LibraryTabContainer tabContainer, Supplier<OpenDatabaseAction> openDatabaseActionSupplier, DialogService dialogService, FileUpdateMonitor fileUpdateMonitor, TaskExecutor taskExecutor, CliPreferences preferences, StateManager stateManager, boolean isNew)

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
crawlPreparation(Path studyRepositoryRoot)

Hook for setting up the crawl phase (e.g., initialization the repository)

public void
Inherited from org.jabref.gui.actions.SimpleCommand:
getProgressprogressPropertysetExecutablestatusMessageProperty

Field Detail

dialogServiceback to summary
protected final DialogService dialogService
fileUpdateMonitorback to summary
private final FileUpdateMonitor fileUpdateMonitor
LOGGERback to summary
private static final Logger LOGGER
openDatabaseActionSupplierback to summary
private final Supplier<OpenDatabaseAction> openDatabaseActionSupplier
preferencesback to summary
protected final CliPreferences preferences
stateManagerback to summary
protected final StateManager stateManager
studyDirectoryback to summary
protected Path studyDirectory
tabContainerback to summary
private final LibraryTabContainer tabContainer
taskExecutorback to summary
private final TaskExecutor taskExecutor

Constructor Detail

ExistingStudySearchActionback to summary
public ExistingStudySearchAction(LibraryTabContainer tabContainer, Supplier<OpenDatabaseAction> openDatabaseActionSupplier, DialogService dialogService, FileUpdateMonitor fileUpdateMonitor, TaskExecutor taskExecutor, CliPreferences preferences, StateManager stateManager)
Parameters
tabContainer:LibraryTabContainer

Required to close the tab before the study is updated

openDatabaseActionSupplier:Supplier<OpenDatabaseAction>

Required to open the tab after the study is executed

ExistingStudySearchActionback to summary
protected ExistingStudySearchAction(LibraryTabContainer tabContainer, Supplier<OpenDatabaseAction> openDatabaseActionSupplier, DialogService dialogService, FileUpdateMonitor fileUpdateMonitor, TaskExecutor taskExecutor, CliPreferences preferences, StateManager stateManager, boolean isNew)

Method Detail

crawlback to summary
protected void crawl()
crawlPreparationback to summary
protected void crawlPreparation(Path studyRepositoryRoot) throws IOException, GitAPIException

Hook for setting up the crawl phase (e.g., initialization the repository)

executeback to summary
public void execute()
Annotations
@Override