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.model.database.BibDatabaseContext, org.jabref.preferences.PreferencesService

Create a new, empty, database.

Field Summary

Modifier and TypeField and Description
private final PreferencesService
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
,
PreferencesService
the preferencesService of JabRef
preferencesService
)

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

preferencesServiceback to summary
private final PreferencesService preferencesService
tabContainerback to summary
private final LibraryTabContainer tabContainer

Constructor Detail

NewDatabaseActionback to summary
public NewDatabaseAction(LibraryTabContainer tabContainer, PreferencesService preferencesService)

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

Parameters
tabContainer:LibraryTabContainer

the ui container for libraries

preferencesService:PreferencesService

the preferencesService of JabRef

Method Detail

executeback to summary
public void execute()
Annotations
@Override