Top Fields Constructors Methods
org.jabref.gui.cleanup

public Class CleanupSingleAction

extends SimpleCommand
Class Inheritance
Imports
java.util.List, .Optional, javax.swing.undo.UndoManager, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, org.jabref.gui.undo.NamedCompound, .UndoableFieldChange, org.jabref.logic.cleanup.CleanupWorker, org.jabref.logic.l10n.Localization, org.jabref.model.FieldChange, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.preferences.CleanupPreferences, .PreferencesService

Field Summary

Modifier and TypeField and Description
private final DialogService
private final BibEntry
private boolean
private int
private final PreferencesService
private final StateManager
private final UndoManager
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
CleanupSingleAction(BibEntry entry, PreferencesService preferences, DialogService dialogService, StateManager stateManager, UndoManager undoManager)

Method Summary

Modifier and TypeMethod and Description
private void
cleanup(BibDatabaseContext databaseContext, CleanupPreferences cleanupPreferences)

private void
doCleanup(BibDatabaseContext databaseContext, CleanupPreferences preset, BibEntry entry, NamedCompound ce)

Runs the cleanup on the entry and records the change.

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

Field Detail

dialogServiceback to summary
private final DialogService dialogService
entryback to summary
private final BibEntry entry
isCanceledback to summary
private boolean isCanceled
modifiedEntriesCountback to summary
private int modifiedEntriesCount
preferencesback to summary
private final PreferencesService preferences
stateManagerback to summary
private final StateManager stateManager
undoManagerback to summary
private final UndoManager undoManager

Constructor Detail

CleanupSingleActionback to summary
public CleanupSingleAction(BibEntry entry, PreferencesService preferences, DialogService dialogService, StateManager stateManager, UndoManager undoManager)

Method Detail

cleanupback to summary
private void cleanup(BibDatabaseContext databaseContext, CleanupPreferences cleanupPreferences)
doCleanupback to summary
private void doCleanup(BibDatabaseContext databaseContext, CleanupPreferences preset, BibEntry entry, NamedCompound ce)

Runs the cleanup on the entry and records the change.

executeback to summary
public void execute()
Annotations
@Override