Top Fields Constructors Methods
org.jabref.gui.importer

public Class NewEntryAction

extends SimpleCommand
Class Inheritance
Imports
java.util.Optional, java.util.function.Supplier, org.jabref.gui.DialogService, .LibraryTab, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, org.jabref.gui.entrytype.EntryTypeView, org.jabref.model.entry.BibEntry, org.jabref.model.entry.types.EntryType, org.jabref.preferences.PreferencesService, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final DialogService
private static final Logger
private final PreferencesService
private final Supplier<LibraryTab>
private Optional<EntryType>
type

The type of the entry to create.

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

Constructor Summary

AccessConstructor and Description
public
NewEntryAction(Supplier<LibraryTab> tabSupplier, DialogService dialogService, PreferencesService preferences, StateManager stateManager)

public
NewEntryAction(Supplier<LibraryTab> tabSupplier, EntryType type, DialogService dialogService, PreferencesService preferences, 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
LOGGERback to summary
private static final Logger LOGGER
preferencesback to summary
private final PreferencesService preferences
tabSupplierback to summary
private final Supplier<LibraryTab> tabSupplier
typeback to summary
private Optional<EntryType> type

The type of the entry to create.

Constructor Detail

NewEntryActionback to summary
public NewEntryAction(Supplier<LibraryTab> tabSupplier, DialogService dialogService, PreferencesService preferences, StateManager stateManager)
NewEntryActionback to summary
public NewEntryAction(Supplier<LibraryTab> tabSupplier, EntryType type, DialogService dialogService, PreferencesService preferences, StateManager stateManager)

Method Detail

executeback to summary
public void execute()
Annotations
@Override