| Modifier and Type | Field and Description |
|---|---|
| private final ClipBoardManager | |
| private final DialogService | |
| private final BibEntryTypesManager | |
| private final FileUpdateMonitor | |
| private static final Logger | |
| private static final List | |
| private final PreferencesService | |
| private final StateManager | |
| private final LibraryTabContainer | |
| private final TaskExecutor | |
| private final CountingUndoManager |
| Access | Constructor and Description |
|---|---|
| public | OpenDatabaseAction(LibraryTabContainer tabContainer, PreferencesService preferencesService, DialogService dialogService, StateManager stateManager, FileUpdateMonitor fileUpdateMonitor, BibEntryTypesManager entryTypesManager, CountingUndoManager undoManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private Path | |
| private ParserResult | |
| public void | |
| public void | |
| public static void | openSharedDatabase(ParserResult parserResult, LibraryTabContainer tabContainer, DialogService dialogService, PreferencesService preferencesService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, UndoManager undoManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor)
|
| private void | openTheFile(Path
the file, may be NOT null, but may not be existing file)This is the real file opening. |
| public static void | performPostOpenActions(ParserResult
The result of the BIB file parse operation. result, DialogService dialogService, PreferencesService preferencesService)Go through the list of post open actions, and perform those that need to be performed. |
| 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 | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| POST_OPEN_ACTIONS | back to summary |
|---|---|
| private static final List<GUIPostOpenAction> POST_OPEN_ACTIONS | |
| preferencesService | back to summary |
|---|---|
| private final PreferencesService preferencesService | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| tabContainer | back to summary |
|---|---|
| private final LibraryTabContainer tabContainer | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| undoManager | back to summary |
|---|---|
| private final CountingUndoManager undoManager | |
| OpenDatabaseAction | back to summary |
|---|---|
| public OpenDatabaseAction(LibraryTabContainer tabContainer, PreferencesService preferencesService, DialogService dialogService, StateManager stateManager, FileUpdateMonitor fileUpdateMonitor, BibEntryTypesManager entryTypesManager, CountingUndoManager undoManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| getInitialDirectory | back to summary |
|---|---|
private Path getInitialDirectory()
| |
| loadDatabase | back to summary |
|---|---|
| private ParserResult loadDatabase(Path file) throws Exception | |
| 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, PreferencesService preferencesService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, UndoManager undoManager, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor) throws SQLException, DatabaseNotSupportedException, InvalidDBMSConnectionPropertiesException, NotASharedDatabaseException | |
| openTheFile | back to summary |
|---|---|
| private void openTheFile(Path file) This is the real file opening. Should be called via
| |
| performPostOpenActions | back to summary |
|---|---|
| public static void performPostOpenActions(ParserResult result, DialogService dialogService, PreferencesService preferencesService) Go through the list of post open actions, and perform those that need to be performed.
| |