Top Fields Constructors Methods
org.jabref.gui.frame

public Class OpenConsoleAction

extends SimpleCommand
Class Inheritance
Imports
java.io.IOException, java.util.Optional, java.util.function.Supplier, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.actions.ActionHelper, .SimpleCommand, org.jabref.gui.desktop.JabRefDesktop, org.jabref.model.database.BibDatabaseContext, org.jabref.preferences.PreferencesService, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final Supplier<BibDatabaseContext>
private final DialogService
private static final Logger
private final PreferencesService
private final StateManager
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public
OpenConsoleAction(Supplier<BibDatabaseContext> databaseContext, StateManager stateManager, PreferencesService preferencesService, DialogService dialogService)

Creates a command that opens the console at the path of the supplied database, or defaults to the active database.

public
OpenConsoleAction(StateManager stateManager, PreferencesService preferencesService, DialogService dialogService)

Using this constructor will result in executing the command on the active database.

Method Summary

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

Field Detail

databaseContextback to summary
private final Supplier<BibDatabaseContext> databaseContext
dialogServiceback to summary
private final DialogService dialogService
LOGGERback to summary
private static final Logger LOGGER
preferencesServiceback to summary
private final PreferencesService preferencesService
stateManagerback to summary
private final StateManager stateManager

Constructor Detail

OpenConsoleActionback to summary
public OpenConsoleAction(Supplier<BibDatabaseContext> databaseContext, StateManager stateManager, PreferencesService preferencesService, DialogService dialogService)

Creates a command that opens the console at the path of the supplied database, or defaults to the active database. Use OpenConsoleAction(StateManager, PreferencesService, DialogService) if not supplying another database.

OpenConsoleActionback to summary
public OpenConsoleAction(StateManager stateManager, PreferencesService preferencesService, DialogService dialogService)

Using this constructor will result in executing the command on the active database.

Method Detail

executeback to summary
public void execute()
Annotations
@Override