| Modifier and Type | Field and Description |
|---|---|
| private final BuildInfo | |
| private final BibDatabaseContext | |
| private final DialogService | |
| private static final Logger | |
| public static final String | |
| private final PreferencesService | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | RelatedArticlesTab(BuildInfo buildInfo, BibDatabaseContext databaseContext, PreferencesService preferencesService, DialogService dialogService, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | bindToEntry(BibEntry entry)
Implements abstract org. Updates the view with the contents of the given entry. |
| private ScrollPane | Returns: ScrollPane to display in place of recommendationsGets a ScrollPane to display error info when recommendations fail. |
| private ScrollPane | Returns: StackPane returned to be placed into Related Articles tab.Currently selected BibEntry. (required to allow reloading of pane if accepted) entry)Returns a consent dialog used to ask permission to send data to Mr. DLib. |
| private ScrollPane | Returns: VBox of related article descriptions to be displayed in the Related Articles tabList of BibEntries of related articles list, MrDLibFetcher fetcher)Creates a VBox of the related article information to be used in the StackPane displayed in the Related Articles tab |
| private StackPane | Returns: A StackPane with related article information to be displayed in the Related Articles tab.The currently selected BibEntry on the JabRef UI. entry)Gets a StackPane of related article information to be displayed in the Related Articles tab |
| public boolean | shouldShow(BibEntry entry)
Implements abstract org. Decide whether to show this tab for the given entry. |
| buildInfo | back to summary |
|---|---|
| private final BuildInfo buildInfo | |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| NAME | back to summary |
|---|---|
| public static final String NAME | |
| preferencesService | back to summary |
|---|---|
| private final PreferencesService preferencesService | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| RelatedArticlesTab | back to summary |
|---|---|
| public RelatedArticlesTab(BuildInfo buildInfo, BibDatabaseContext databaseContext, PreferencesService preferencesService, DialogService dialogService, TaskExecutor taskExecutor) | |
| bindToEntry | back to summary |
|---|---|
| protected void bindToEntry(BibEntry entry) Implements abstract org. Doc from org. Updates the view with the contents of the given entry.
| |
| getErrorInfo | back to summary |
|---|---|
| private ScrollPane getErrorInfo() Gets a ScrollPane to display error info when recommendations fail.
| |
| getPrivacyDialog | back to summary |
|---|---|
| private ScrollPane getPrivacyDialog(BibEntry entry) Returns a consent dialog used to ask permission to send data to Mr. DLib.
| |
| getRelatedArticleInfo | back to summary |
|---|---|
| private ScrollPane getRelatedArticleInfo(List<BibEntry> list, MrDLibFetcher fetcher) Creates a VBox of the related article information to be used in the StackPane displayed in the Related Articles tab
| |
| getRelatedArticlesPane | back to summary |
|---|---|
| private StackPane getRelatedArticlesPane(BibEntry entry) Gets a StackPane of related article information to be displayed in the Related Articles tab | |
| shouldShow | back to summary |
|---|---|
| public boolean shouldShow(BibEntry entry) Implements abstract org. Doc from org. Decide whether to show this tab for the given entry.
| |