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

public Class CopyDoiUrlAction

extends SimpleCommand
Class Inheritance
Imports
java.util.Optional, javafx.scene.control.TextField, org.jabref.gui.DialogService, org.jabref.gui.actions.SimpleCommand, .StandardActions, org.jabref.gui.clipboard.ClipBoardManager, org.jabref.logic.l10n.Localization, org.jabref.model.entry.identifier.DOI

Copies the doi url to the clipboard

Field Summary

Modifier and TypeField and Description
private final StandardActions
private final ClipBoardManager
private final TextField
private final DialogService
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
CopyDoiUrlAction(TextField component, StandardActions action, DialogService dialogService, ClipBoardManager clipBoardManager)

Method Summary

Modifier and TypeMethod and Description
private void
copy(Optional<String> urlOptional, String identifier)

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

Field Detail

actionback to summary
private final StandardActions action
clipBoardManagerback to summary
private final ClipBoardManager clipBoardManager
componentback to summary
private final TextField component
dialogServiceback to summary
private final DialogService dialogService

Constructor Detail

CopyDoiUrlActionback to summary
public CopyDoiUrlAction(TextField component, StandardActions action, DialogService dialogService, ClipBoardManager clipBoardManager)

Method Detail

copyback to summary
private void copy(Optional<String> urlOptional, String identifier)
executeback to summary
public void execute()
Annotations
@Override