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

public Class CopyDoiUrlAction

extends SimpleCommand
Class Inheritance
Imports
java.util.Optional, javafx.scene.control.TextArea, org.jabref.gui.ClipBoardManager, .DialogService, org.jabref.gui.actions.SimpleCommand, .StandardActions, 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 TextArea
private final DialogService
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
CopyDoiUrlAction(TextArea 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 TextArea component
dialogServiceback to summary
private final DialogService dialogService

Constructor Detail

CopyDoiUrlActionback to summary
public CopyDoiUrlAction(TextArea 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