| Modifier and Type | Field and Description |
|---|---|
| private final Supplier | |
| private final DialogService | |
| private static final Logger | |
| private final GuiPreferences | |
| private final StateManager |
| Access | Constructor and Description |
|---|---|
| public | OpenConsoleAction(Supplier<BibDatabaseContext> databaseContext, StateManager stateManager, GuiPreferences preferences, 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, GuiPreferences preferences, DialogService dialogService)
Using this constructor will result in executing the command on the active database. |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| databaseContext | back to summary |
|---|---|
| private final Supplier<BibDatabaseContext> databaseContext | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| preferences | back to summary |
|---|---|
| private final GuiPreferences preferences | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| OpenConsoleAction | back to summary |
|---|---|
| public OpenConsoleAction(Supplier<BibDatabaseContext> databaseContext, StateManager stateManager, GuiPreferences preferences, DialogService dialogService) Creates a command that opens the console at the path of the supplied database,
or defaults to the active database. Use
| |
| OpenConsoleAction | back to summary |
|---|---|
| public OpenConsoleAction(StateManager stateManager, GuiPreferences preferences, DialogService dialogService) Using this constructor will result in executing the command on the active database. | |
| execute | back to summary |
|---|---|
public void execute()
| |