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

public Class EditAction

extends SimpleCommand
Class Inheritance
Imports
java.util.function.Supplier, javafx.scene.Node, javafx.scene.control.TextInputControl, org.jabref.gui.LibraryTab, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, .StandardActions, org.jabref.gui.preview.PreviewViewer, org.fxmisc.richtext.CodeArea, org.jspecify.annotations.Nullable, org.slf4j.Logger, .LoggerFactory

Cut, copy, paste, delete and select-all, dispatched by what currently has focus: a text control edits its own text, the entry preview copies its selection, and anything else acts on the entries selected in the library. The focus owner is read from StateManager#getFocusOwner.

Field Summary

Modifier and TypeField and Description
private final StandardActions
private static final Logger
private final StateManager
private final Supplier<LibraryTab>
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
EditAction(StandardActions action, Supplier<LibraryTab> tabSupplier, StateManager stateManager)

Method Summary

Modifier and TypeMethod and Description
public void
private static @Nullable PreviewViewer
public String
Inherited from org.jabref.gui.actions.SimpleCommand:
getProgressprogressPropertysetExecutablestatusMessageProperty

Field Detail

actionback to summary
private final StandardActions action
LOGGERback to summary
private static final Logger LOGGER
stateManagerback to summary
private final StateManager stateManager
tabSupplierback to summary
private final Supplier<LibraryTab> tabSupplier

Constructor Detail

EditActionback to summary
public EditAction(StandardActions action, Supplier<LibraryTab> tabSupplier, StateManager stateManager)

Method Detail

executeback to summary
public void execute()
Annotations
@Override
findEnclosingPreviewback to summary
private static @Nullable PreviewViewer findEnclosingPreview(Node node)
toStringback to summary
public String toString()
Annotations
@Override