Top Fields Constructors Methods
org.jabref.gui.journals

public Class UndoableUnabbreviator

extends Object
Class Inheritance
Imports
javax.swing.undo.CompoundEdit, org.jabref.gui.undo.UndoableFieldChange, org.jabref.logic.journals.Abbreviation, .JournalAbbreviationRepository, org.jabref.model.database.BibDatabase, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.AMSField, .Field, .StandardField

Field Summary

Modifier and TypeField and Description
private final JournalAbbreviationRepository

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean

Returns:

true if the entry was changed, false otherwise.
unabbreviate
(BibDatabase database, BibEntry
The entry to be treated.
entry
,
Field
The field
field
,
CompoundEdit
If the entry is changed, add an edit to this compound.
ce
)

Unabbreviate the journal name of the given entry.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

journalAbbreviationRepositoryback to summary
private final JournalAbbreviationRepository journalAbbreviationRepository

Constructor Detail

UndoableUnabbreviatorback to summary
public UndoableUnabbreviator(JournalAbbreviationRepository journalAbbreviationRepository)

Method Detail

restoreFromFJournalback to summary
public boolean restoreFromFJournal(BibEntry entry, Field field, CompoundEdit ce)
unabbreviateback to summary
public boolean unabbreviate(BibDatabase database, BibEntry entry, Field field, CompoundEdit ce)

Unabbreviate the journal name of the given entry.

Parameters
entry:BibEntry

The entry to be treated.

field:Field

The field

ce:CompoundEdit

If the entry is changed, add an edit to this compound.

Returns:boolean

true if the entry was changed, false otherwise.