Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.maintable

public abstract Class NewLibraryFromPdfAction

extends SimpleCommand
Class Inheritance
Known Direct Subclasses
org.jabref.gui.maintable.NewLibraryFromPdfActionOffline, org.jabref.gui.maintable.NewLibraryFromPdfActionOnline
Imports
java.nio.file.Path, java.util.concurrent.Callable, org.jabref.gui.DialogService, .LibraryTabContainer, .StateManager, org.jabref.gui.actions.SimpleCommand, org.jabref.gui.util.FileDialogConfiguration, org.jabref.logic.importer.ParserResult, org.jabref.logic.l10n.Localization, org.jabref.logic.preferences.CliPreferences, org.jabref.logic.util.BackgroundTask, .StandardFileType, .TaskExecutor, org.jabref.model.database.BibDatabaseContext, org.slf4j.Logger, .LoggerFactory

Similar to ExtractReferencesAction. This action creates a new library, the other action "just" appends to the current library

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
NewLibraryFromPdfAction(LibraryTabContainer libraryTabContainer, StateManager stateManager, DialogService dialogService, CliPreferences preferences, TaskExecutor taskExecutor)

Method Summary

Modifier and TypeMethod and Description
public void
protected abstract Callable<ParserResult>
Inherited from org.jabref.gui.actions.SimpleCommand:
getProgressprogressPropertysetExecutablestatusMessageProperty

Field Detail

dialogServiceback to summary
private final DialogService dialogService
libraryTabContainerback to summary
private final LibraryTabContainer libraryTabContainer
LOGGERback to summary
private static final Logger LOGGER
preferencesback to summary
protected final CliPreferences preferences
stateManagerback to summary
private final StateManager stateManager
taskExecutorback to summary
private final TaskExecutor taskExecutor

Constructor Detail

NewLibraryFromPdfActionback to summary
public NewLibraryFromPdfAction(LibraryTabContainer libraryTabContainer, StateManager stateManager, DialogService dialogService, CliPreferences preferences, TaskExecutor taskExecutor)

Method Detail

executeback to summary
public void execute()
Annotations
@Override
getParserResultCallableback to summary
protected abstract Callable<ParserResult> getParserResultCallable(Path path)