Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.importer

public Class NewDatabaseAction

extends SimpleCommand
Class Inheritance
Imports
org.jabref.gui.LibraryTabContainer, org.jabref.gui.actions.SimpleCommand, org.jabref.gui.importer.actions.AddGroupImportEntriesAction, org.jabref.logic.preferences.CliPreferences, org.jabref.model.database.BibDatabaseContext

Create a new, empty, database.

Field Summary

Modifier and TypeField and Description
private final AddGroupImportEntriesAction
private final CliPreferences
private final LibraryTabContainer
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
NewDatabaseAction(LibraryTabContainer
the ui container for libraries
tabContainer
,
CliPreferences
the preferencesService of JabRef
preferences
)

Constructs a command to create a new library of the default type

Method Summary

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

Field Detail

addGroupImportEntriesActionback to summary
private final AddGroupImportEntriesAction addGroupImportEntriesAction
preferencesback to summary
private final CliPreferences preferences
tabContainerback to summary
private final LibraryTabContainer tabContainer

Constructor Detail

NewDatabaseActionback to summary
public NewDatabaseAction(LibraryTabContainer tabContainer, CliPreferences preferences)

Constructs a command to create a new library of the default type

Parameters
tabContainer:LibraryTabContainer

the ui container for libraries

preferences:CliPreferences

the preferencesService of JabRef

Method Detail

executeback to summary
public void execute()
Annotations
@Override