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

public Class CopyTo

extends SimpleCommand
Class Inheritance
Imports
java.util.ArrayList, .List, .Optional, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, org.jabref.gui.externalfiles.ImportHandler, org.jabref.logic.FilePreferences, org.jabref.logic.l10n.Localization, org.jabref.model.TransferInformation, .TransferMode, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.StandardField, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final CopyToPreferences
private final DialogService
private final FilePreferences
private final ImportHandler
private static final Logger
private final BibDatabaseContext
private final StateManager
private final BibDatabaseContext
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
CopyTo(DialogService dialogService, StateManager stateManager, CopyToPreferences copyToPreferences, FilePreferences filePreferences, ImportHandler importHandler, BibDatabaseContext sourceDatabaseContext, BibDatabaseContext targetDatabaseContext)

Method Summary

Modifier and TypeMethod and Description
private boolean
public void
copyEntriesWithCrossRef(List<BibEntry> selectedEntries, BibDatabaseContext targetDatabaseContext)

public void
copyEntriesWithoutCrossRef(List<BibEntry> selectedEntries, BibDatabaseContext targetDatabaseContext)

public void
public Optional<BibEntry>
getCrossRefEntry(BibEntry bibEntryToCheck, BibDatabaseContext sourceDatabaseContext)

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

Field Detail

copyToPreferencesback to summary
private final CopyToPreferences copyToPreferences
dialogServiceback to summary
private final DialogService dialogService
filePreferencesback to summary
private final FilePreferences filePreferences
importHandlerback to summary
private final ImportHandler importHandler
LOGGERback to summary
private static final Logger LOGGER
sourceDatabaseContextback to summary
private final BibDatabaseContext sourceDatabaseContext
stateManagerback to summary
private final StateManager stateManager
targetDatabaseContextback to summary
private final BibDatabaseContext targetDatabaseContext

Constructor Detail

CopyToback to summary
public CopyTo(DialogService dialogService, StateManager stateManager, CopyToPreferences copyToPreferences, FilePreferences filePreferences, ImportHandler importHandler, BibDatabaseContext sourceDatabaseContext, BibDatabaseContext targetDatabaseContext)

Method Detail

askForCrossReferencedEntriesback to summary
private boolean askForCrossReferencedEntries()
copyEntriesWithCrossRefback to summary
public void copyEntriesWithCrossRef(List<BibEntry> selectedEntries, BibDatabaseContext targetDatabaseContext)
copyEntriesWithoutCrossRefback to summary
public void copyEntriesWithoutCrossRef(List<BibEntry> selectedEntries, BibDatabaseContext targetDatabaseContext)
executeback to summary
public void execute()
Annotations
@Override
getCrossRefEntryback to summary
public Optional<BibEntry> getCrossRefEntry(BibEntry bibEntryToCheck, BibDatabaseContext sourceDatabaseContext)