| Modifier and Type | Field and Description |
|---|---|
| private final BibEntryRelationsRepository | |
| private final CitationsRelationsTabViewModel | |
| private static BackgroundTask | |
| private static BackgroundTask | |
| private final BibDatabaseContext | |
| private final DialogService | |
| private final DuplicateCheck | |
| private final LibraryTab | |
| private static final Logger | |
| public static final String | |
| private final PreferencesService | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | CitationRelationsTab(DialogService dialogService, BibDatabaseContext databaseContext, UndoManager undoManager, StateManager stateManager, FileUpdateMonitor fileUpdateMonitor, PreferencesService preferencesService, LibraryTab libraryTab, 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 SplitPane | Returns: SplitPane to displayBibEntry which is currently selected in JabRef Database entry)Method to create main SplitPane holding all lists, buttons and labels for tab and starts search |
| private void | |
| private void | importEntries(List<CitationRelationItem>
entries to import entriesToImport, CitationFetcher.Function to import selected entries to the database. |
| private void | onSearchForRelationsSucceed(BibEntry entry, org.controlsfx.control.CheckListView<CitationRelationItem> listView, Button abortButton, Button refreshButton, CitationFetcher.
|
| private void | prepareToSearchForRelations(Button abortButton, Button refreshButton, Button importButton, ProgressIndicator progress, BackgroundTask<List<BibEntry>> task)
|
| private void | searchForRelations(BibEntry
BibEntry currently selected in Jabref Database entry, org.controlsfx.control.CheckListView<CitationRelationItem> ListView to use listView, Button Button to stop the search abortButton, Button refresh Button to use refreshButton, CitationFetcher.type of search (CITING / CITEDBY) searchType,Method to start search for relations and display them in the associated ListView |
| public boolean | Returns: whether tab should be shownCurrently selected BibEntry entry)Implements abstract org. Determines if tab should be shown according to preferences |
| private void | |
| private void | styleFetchedListView(org.controlsfx.control.CheckListView<CitationRelationItem>
CheckListView to style listView)Styles a given CheckListView to display BibEntries either with a hyperlink or an add button |
| private void | |
| private void |
| bibEntryRelationsRepository | back to summary |
|---|---|
| private final BibEntryRelationsRepository bibEntryRelationsRepository | |
| citationsRelationsTabViewModel | back to summary |
|---|---|
| private final CitationsRelationsTabViewModel citationsRelationsTabViewModel | |
| citedByTask | back to summary |
|---|---|
| private static BackgroundTask<List<BibEntry>> citedByTask | |
| citingTask | back to summary |
|---|---|
| private static BackgroundTask<List<BibEntry>> citingTask | |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| duplicateCheck | back to summary |
|---|---|
| private final DuplicateCheck duplicateCheck | |
| libraryTab | back to summary |
|---|---|
| private final LibraryTab libraryTab | |
| 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 | |
| CitationRelationsTab | back to summary |
|---|---|
| public CitationRelationsTab(DialogService dialogService, BibDatabaseContext databaseContext, UndoManager undoManager, StateManager stateManager, FileUpdateMonitor fileUpdateMonitor, PreferencesService preferencesService, LibraryTab libraryTab, 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.
| |
| getPaneAndStartSearch | back to summary |
|---|---|
| private SplitPane getPaneAndStartSearch(BibEntry entry) Method to create main SplitPane holding all lists, buttons and labels for tab and starts search | |
| hideNodes | back to summary |
|---|---|
| private void hideNodes(Node... nodes) | |
| importEntries | back to summary |
|---|---|
| private void importEntries(List<CitationRelationItem> entriesToImport, CitationFetcher. Function to import selected entries to the database. Also writes the entries to import to the CITING/CITED field
| |
| onSearchForRelationsSucceed | back to summary |
|---|---|
| private void onSearchForRelationsSucceed(BibEntry entry, org.controlsfx.control.CheckListView<CitationRelationItem> listView, Button abortButton, Button refreshButton, CitationFetcher. | |
| prepareToSearchForRelations | back to summary |
|---|---|
| private void prepareToSearchForRelations(Button abortButton, Button refreshButton, Button importButton, ProgressIndicator progress, BackgroundTask<List<BibEntry>> task) | |
| searchForRelations | back to summary |
|---|---|
| private void searchForRelations(BibEntry entry, org.controlsfx.control.CheckListView<CitationRelationItem> listView, Button abortButton, Button refreshButton, CitationFetcher. Method to start search for relations and display them in the associated ListView
| |
| shouldShow | back to summary |
|---|---|
| public boolean shouldShow(BibEntry entry) Implements abstract org. Determines if tab should be shown according to preferences | |
| showNodes | back to summary |
|---|---|
| private void showNodes(Node... nodes) | |
| styleFetchedListView | back to summary |
|---|---|
| private void styleFetchedListView(org.controlsfx.control.CheckListView<CitationRelationItem> listView) Styles a given CheckListView to display BibEntries either with a hyperlink or an add button
| |
| styleLabel | back to summary |
|---|---|
| private void styleLabel(Label label) Method to style heading labels
| |
| styleTopBarNode | back to summary |
|---|---|
| private void styleTopBarNode(Node node, double offset) Method to style refresh buttons
| |