| Modifier and Type | Field and Description |
|---|---|
| private final AiService | |
| private final ClipBoardManager | |
| private DatabaseSynchronizer | |
| private final DialogService | |
| private final BibEntryTypesManager | |
| private final FileUpdateMonitor | |
| private final GitHandlerRegistry | |
| private final GuiPreferences | |
| private final StateManager | |
| private final LibraryTabContainer | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | SharedDatabaseUIManager(LibraryTabContainer tabContainer, DialogService dialogService, GuiPreferences preferences, AiService aiService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry)
|
| Modifier and Type | Method and Description |
|---|---|
| public BibDatabaseContext | Returns: BasePanel which also used byorg.
Connects and loads the shared database. Blocks on the network, so call it off the JavaFX thread and hand the
result to openTab(BibDatabaseContext).Connection data dbmsConnectionProperties)Opens a new shared database tab with the given |
| public BibDatabaseContext | |
| private BibDatabaseContext | |
| private void | |
| private void | |
| public void | listen(ConnectionLostEvent event)
The synchronizer keeps the changes locally and reconnects by itself (see |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public LibraryTab | openTab(BibDatabaseContext bibDatabaseContext)
Shows a database returned by |
| aiService | back to summary |
|---|---|
| private final AiService aiService | |
| clipBoardManager | back to summary |
|---|---|
| private final ClipBoardManager clipBoardManager | |
| dbmsSynchronizer | back to summary |
|---|---|
| private DatabaseSynchronizer dbmsSynchronizer | |
| 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 | |
| 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 | |
| SharedDatabaseUIManager | back to summary |
|---|---|
| public SharedDatabaseUIManager(LibraryTabContainer tabContainer, DialogService dialogService, GuiPreferences preferences, AiService aiService, StateManager stateManager, BibEntryTypesManager entryTypesManager, FileUpdateMonitor fileUpdateMonitor, ClipBoardManager clipBoardManager, TaskExecutor taskExecutor, GitHandlerRegistry gitHandlerRegistry) | |
| connect | back to summary |
|---|---|
| public BibDatabaseContext connect(DBMSConnectionProperties dbmsConnectionProperties) throws SQLException, org.jabref.logic.shared.DatabaseNotSupportedException, org.jabref.logic.shared.exception.InvalidDBMSConnectionPropertiesException Opens a new shared database tab with the given
| |
| createDummyContext | back to summary |
|---|---|
| public BibDatabaseContext createDummyContext(DBMSConnectionProperties connectionProperties) | |
| getBibDatabaseContextForSharedDatabase | back to summary |
|---|---|
| private BibDatabaseContext getBibDatabaseContextForSharedDatabase() | |
| handleSharedEntriesNotPresent | back to summary |
|---|---|
| private void handleSharedEntriesNotPresent(SharedEntriesNotPresentEvent event) Another client removed entries. Live synchronization makes this an everyday event, so it is reported without interrupting the user; the undo edit keeps the entries' last local state (including unsynchronized edits) recoverable. | |
| handleUpdateRefused | back to summary |
|---|---|
| private void handleUpdateRefused(UpdateRefusedEvent updateRefusedEvent) | |
| listen | back to summary |
|---|---|
| public void listen(ConnectionLostEvent event) The synchronizer keeps the changes locally and reconnects by itself (see
| |
| listen | back to summary |
|---|---|
public void listen(ConnectionRestoredEvent event)
| |
| listen | back to summary |
|---|---|
public void listen(SharedWriteFailedEvent event)
| |
| listen | back to summary |
|---|---|
public void listen(UpdateRefusedEvent updateRefusedEvent)
| |
| listen | back to summary |
|---|---|
public void listen(SharedEntriesNotPresentEvent event)
| |
| openSharedDatabaseFromParserResult | back to summary |
|---|---|
| public void openSharedDatabaseFromParserResult(ParserResult parserResult) throws SQLException, org.jabref.logic.shared.DatabaseNotSupportedException, org.jabref.logic.shared.exception.InvalidDBMSConnectionPropertiesException, org.jabref.logic.shared.exception.NotASharedDatabaseException | |
| openTab | back to summary |
|---|---|
| public LibraryTab openTab(BibDatabaseContext bibDatabaseContext) Shows a database returned by | |