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

public Class AttachFileFromURLAction

extends SimpleCommand
Class Inheritance
Imports
java.net.MalformedURLException, .URL, java.util.Optional, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, org.jabref.gui.clipboard.ClipBoardManager, org.jabref.gui.fieldeditors.LinkedFileViewModel, org.jabref.gui.preferences.GuiPreferences, org.jabref.logic.l10n.Localization, org.jabref.logic.util.TaskExecutor, .URLUtil, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .LinkedFile, org.jabref.model.entry.field.StandardField

Field Summary

Modifier and TypeField and Description
private final DialogService
private final GuiPreferences
private final StateManager
private final TaskExecutor
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
AttachFileFromURLAction(DialogService dialogService, StateManager stateManager, TaskExecutor taskExecutor, GuiPreferences preferences)

Method Summary

Modifier and TypeMethod and Description
public void
public static Optional<String>
Inherited from org.jabref.gui.actions.SimpleCommand:
getProgressprogressPropertysetExecutablestatusMessageProperty

Field Detail

dialogServiceback to summary
private final DialogService dialogService
preferencesback to summary
private final GuiPreferences preferences
stateManagerback to summary
private final StateManager stateManager
taskExecutorback to summary
private final TaskExecutor taskExecutor

Constructor Detail

AttachFileFromURLActionback to summary
public AttachFileFromURLAction(DialogService dialogService, StateManager stateManager, TaskExecutor taskExecutor, GuiPreferences preferences)

Method Detail

executeback to summary
public void execute()
Annotations
@Override
getUrlForDownloadFromClipBoardOrEntryback to summary
public static Optional<String> getUrlForDownloadFromClipBoardOrEntry(DialogService dialogService, BibEntry entry)