| Modifier and Type | Field and Description |
|---|---|
| private final AiService | |
| private final ClipBoardManager | |
| private final DialogService | |
| private final BibEntryTypesManager | |
| private final FileUpdateMonitor | |
| private final GitHandlerRegistry | |
| private static final Logger | |
| private static final List | |
| private final GuiPreferences | |
| private final StateManager | |
| private final LibraryTabContainer | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | OpenDatabaseAction(LibraryTabContainer tabContainer, GuiPreferences preferences, AiService aiService, DialogService dialogService, StateManager stateManager, FileUpdateMonitor fileUpdateMonitor, BibEntryTypesManager entryTypesManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public FileDialogConfiguration | Returns: new FileDialogConfig with given initial directoryPath to use as the initial directory initialDirectory)Builds a new FileDialogConfiguration using the given path as the initial directory for use in dialogService.showFileOpenDialogAndGetMultipleFiles(). |
| pack-priv List | |
| pack-priv Path | |
| pack-priv ParserResult | |
| public void | |
| public void | |
| public static void | openSharedDatabase(ParserResult parserResult, LibraryTabContainer tabContainer, DialogService dialogService, GuiPreferences preferences, AiService aiService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry)
|
| private void | openTheFile(@NonNull Path
the file, may be NOT null, but may not be existing file)This is the real file opening. |
| public static void | performPostOpenActions(ParserResult result, DialogService dialogService, CliPreferences preferences)
|
| aiService | back to summary |
|---|---|
| private final AiService aiService | |
| clipboardManager | back to summary |
|---|---|
| private final ClipBoardManager clipboardManager | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| entryTypesManager | back to summary |
|---|---|
| private final BibEntryTypesManager entryTypesManager | |
| fileUpdateMonitor | back to summary |
|---|---|
| private final FileUpdateMonitor fileUpdateMonitor | |
| gitHandlerRegistry | back to summary |
|---|---|
| private final GitHandlerRegistry gitHandlerRegistry | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| POST_OPEN_ACTIONS | back to summary |
|---|---|
| private static final List<GUIPostOpenAction> POST_OPEN_ACTIONS | |
| preferences | back to summary |
|---|---|
| private final GuiPreferences preferences | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| tabContainer | back to summary |
|---|---|
| private final LibraryTabContainer tabContainer | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| OpenDatabaseAction | back to summary |
|---|---|
| public OpenDatabaseAction(LibraryTabContainer tabContainer, GuiPreferences preferences, AiService aiService, DialogService dialogService, StateManager stateManager, FileUpdateMonitor fileUpdateMonitor, BibEntryTypesManager entryTypesManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| getFileDialogConfiguration | back to summary |
|---|---|
| public FileDialogConfiguration getFileDialogConfiguration(Path initialDirectory) Builds a new FileDialogConfiguration using the given path as the initial directory for use in dialogService.showFileOpenDialogAndGetMultipleFiles().
| |
| getFilesToOpen | back to summary |
|---|---|
pack-priv List
| |
| getInitialDirectory | back to summary |
|---|---|
pack-priv Path getInitialDirectory()
| |
| loadDatabase | back to summary |
|---|---|
pack-priv ParserResult loadDatabase(Path file) throws org.jabref.logic.shared.exception.NotASharedDatabaseException, SQLException, org.jabref.logic.shared.exception.InvalidDBMSConnectionPropertiesException, org.jabref.logic.shared.DatabaseNotSupportedException
| |
| openFile | back to summary |
|---|---|
| public void openFile(Path file) Opens the given file. If null or 404, nothing happens. In case the file is already opened, that panel is raised.
| |
| openFiles | back to summary |
|---|---|
| public void openFiles(List<Path> filesToOpen) Opens the given files. If one of it is null or 404, nothing happens. In case the file is already opened, that panel is raised. | |
| openSharedDatabase | back to summary |
|---|---|
| public static void openSharedDatabase(ParserResult parserResult, LibraryTabContainer tabContainer, DialogService dialogService, GuiPreferences preferences, AiService aiService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry) throws SQLException, org.jabref.logic.shared.DatabaseNotSupportedException, org.jabref.logic.shared.exception.InvalidDBMSConnectionPropertiesException, org.jabref.logic.shared.exception.NotASharedDatabaseException | |
| openTheFile | back to summary |
|---|---|
| private void openTheFile(@NonNull Path file) This is the real file opening. Should be called via Similar method: | |
| performPostOpenActions | back to summary |
|---|---|
| public static void performPostOpenActions(ParserResult result, DialogService dialogService, CliPreferences preferences) | |