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

public Class MoveFieldValueAction

extends SimpleCommand
Class Inheritance
Imports
java.util.List, .Optional, org.jabref.gui.actions.SimpleCommand, org.jabref.logic.util.strings.StringUtil, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.Field, org.jabref.model.undo.CompoundEdit, .UndoableFieldChange

Field Summary

Modifier and TypeField and Description
private int
private final CompoundEdit
private final List<BibEntry>
private final Field
private final boolean
private final Field
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
MoveFieldValueAction(Field fromField, Field toField, List<BibEntry> entries, CompoundEdit edits, boolean overwriteToFieldContent)

public
MoveFieldValueAction(Field fromField, Field toField, List<BibEntry> entries, CompoundEdit edits)

Method Summary

Modifier and TypeMethod and Description
public void
public int
executeAndGetAffectedEntriesCount()

Returns: the number of affected entries

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

Field Detail

affectedEntriesCountback to summary
private int affectedEntriesCount
editsback to summary
private final CompoundEdit edits
entriesback to summary
private final List<BibEntry> entries
fromFieldback to summary
private final Field fromField
overwriteToFieldContentback to summary
private final boolean overwriteToFieldContent
toFieldback to summary
private final Field toField

Constructor Detail

MoveFieldValueActionback to summary
public MoveFieldValueAction(Field fromField, Field toField, List<BibEntry> entries, CompoundEdit edits, boolean overwriteToFieldContent)
MoveFieldValueActionback to summary
public MoveFieldValueAction(Field fromField, Field toField, List<BibEntry> entries, CompoundEdit edits)

Method Detail

executeback to summary
public void execute()
Annotations
@Override
executeAndGetAffectedEntriesCountback to summary
public int executeAndGetAffectedEntriesCount()
Returns:int

the number of affected entries