Top Description Inners Fields Constructors Methods
org.jabref.gui.exporter

public Class SaveAction

extends SimpleCommand
Class Inheritance
Imports
java.util.function.Supplier, org.jabref.gui.DialogService, .LibraryTab, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, org.jabref.model.entry.BibEntryTypesManager, org.jabref.preferences.PreferencesService, com.airhacks.afterburner.injection.Injector

This class is just a simple wrapper for the soon to be refactored SaveDatabaseAction.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private final DialogService
private final PreferencesService
private final SaveAction.SaveMethod
private final Supplier<LibraryTab>
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
SaveAction(SaveAction.SaveMethod saveMethod, Supplier<LibraryTab> tabSupplier, DialogService dialogService, PreferencesService preferencesService, StateManager stateManager)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.jabref.gui.actions.SimpleCommand:
getProgressprogressPropertysetExecutablestatusMessageProperty

Field Detail

dialogServiceback to summary
private final DialogService dialogService
preferencesServiceback to summary
private final PreferencesService preferencesService
saveMethodback to summary
private final SaveAction.SaveMethod saveMethod
tabSupplierback to summary
private final Supplier<LibraryTab> tabSupplier

Constructor Detail

SaveActionback to summary
public SaveAction(SaveAction.SaveMethod saveMethod, Supplier<LibraryTab> tabSupplier, DialogService dialogService, PreferencesService preferencesService, StateManager stateManager)

Method Detail

executeback to summary
public void execute()
Annotations
@Override
org.jabref.gui.exporter back to summary

public final Enum SaveAction.SaveMethod

extends Enum<SaveAction.SaveMethod>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SaveAction.SaveMethod
public static final SaveAction.SaveMethod
public static final SaveAction.SaveMethod

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SaveAction.SaveMethod
public static SaveAction.SaveMethod[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

SAVEback to summary
public static final SaveAction.SaveMethod SAVE
SAVE_ASback to summary
public static final SaveAction.SaveMethod SAVE_AS
SAVE_SELECTEDback to summary
public static final SaveAction.SaveMethod SAVE_SELECTED

Constructor Detail

SaveMethodback to summary
private SaveMethod()

Method Detail

valueOfback to summary
public static SaveAction.SaveMethod valueOf(String name)
valuesback to summary
public static SaveAction.SaveMethod[] values()