Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.entryeditor

public Class EntryEditorTabFactory

extends Object
Class Inheritance
Imports
java.util.LinkedList, .List, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.entryeditor.citationrelationtab.CitationRelationsTab, org.jabref.gui.entryeditor.fileannotationtab.FileAnnotationTab, .FulltextSearchResultsTab, org.jabref.gui.keyboard.KeyBindingRepository, org.jabref.gui.preferences.GuiPreferences, org.jabref.gui.preview.PreviewPanel, org.jabref.gui.undo.RedoAction, .UndoAction, org.jabref.gui.util.DirectoryMonitor, org.jabref.logic.citation.SearchCitationsRelationsService, org.jabref.logic.journals.JournalAbbreviationRepository, org.jabref.logic.util.BuildInfo, .TaskExecutor, org.jabref.model.entry.BibEntryTypesManager, org.jabref.model.util.FileUpdateMonitor, io.github.kusoroadeolu.veneer.BibTeXSyntaxHighlighter

Builds the EntryEditorTab controls shown in the EntryEditor.

Analogous to org.jabref.gui.maintable.MainTableColumnFactory: it turns the tab configuration (EntryEditorTabModel) plus the fixed, always-present tabs into the concrete JavaFX tab views, keeping tab creation (and the GUI dependencies it needs) out of the view and the view model.

Field Summary

Modifier and TypeField and Description
private final BibEntryTypesManager
private final BibTeXSyntaxHighlighter
private final BuildInfo
private final DialogService
private final DirectoryMonitor
private final FileUpdateMonitor
private final JournalAbbreviationRepository
private final KeyBindingRepository
private final GuiPreferences
private final PreviewPanel
private final RedoAction
private final SearchCitationsRelationsService
private final StateManager
private final TaskExecutor
private final UndoAction

Constructor Summary

AccessConstructor and Description
public
EntryEditorTabFactory(PreviewPanel previewPanel, UndoAction undoAction, RedoAction redoAction, BuildInfo buildInfo, DialogService dialogService, TaskExecutor taskExecutor, GuiPreferences preferences, StateManager stateManager, FileUpdateMonitor fileMonitor, DirectoryMonitor directoryMonitor, BibEntryTypesManager bibEntryTypesManager, JournalAbbreviationRepository journalAbbreviationRepository, KeyBindingRepository keyBindingRepository, SearchCitationsRelationsService searchCitationsRelationsService, BibTeXSyntaxHighlighter bibTeXSyntaxHighlighter)

Method Summary

Modifier and TypeMethod and Description
private EntryEditorTab
public EntryEditorTab
createTab(EntryEditorTabModel model)

Maps a single EntryEditorTabModel to its concrete EntryEditorTab view, wiring in the user-controlled visibility derived from the same model.

public List<EntryEditorTab>
createTabs()

Creates all tabs that can possibly be shown from EntryEditorTabModel, in display order.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bibEntryTypesManagerback to summary
private final BibEntryTypesManager bibEntryTypesManager
bibTeXSyntaxHighlighterback to summary
private final BibTeXSyntaxHighlighter bibTeXSyntaxHighlighter
buildInfoback to summary
private final BuildInfo buildInfo
dialogServiceback to summary
private final DialogService dialogService
directoryMonitorback to summary
private final DirectoryMonitor directoryMonitor
fileMonitorback to summary
private final FileUpdateMonitor fileMonitor
journalAbbreviationRepositoryback to summary
private final JournalAbbreviationRepository journalAbbreviationRepository
keyBindingRepositoryback to summary
private final KeyBindingRepository keyBindingRepository
preferencesback to summary
private final GuiPreferences preferences
previewPanelback to summary
private final PreviewPanel previewPanel
redoActionback to summary
private final RedoAction redoAction
searchCitationsRelationsServiceback to summary
private final SearchCitationsRelationsService searchCitationsRelationsService
stateManagerback to summary
private final StateManager stateManager
taskExecutorback to summary
private final TaskExecutor taskExecutor
undoActionback to summary
private final UndoAction undoAction

Constructor Detail

EntryEditorTabFactoryback to summary
public EntryEditorTabFactory(PreviewPanel previewPanel, UndoAction undoAction, RedoAction redoAction, BuildInfo buildInfo, DialogService dialogService, TaskExecutor taskExecutor, GuiPreferences preferences, StateManager stateManager, FileUpdateMonitor fileMonitor, DirectoryMonitor directoryMonitor, BibEntryTypesManager bibEntryTypesManager, JournalAbbreviationRepository journalAbbreviationRepository, KeyBindingRepository keyBindingRepository, SearchCitationsRelationsService searchCitationsRelationsService, BibTeXSyntaxHighlighter bibTeXSyntaxHighlighter)

Method Detail

createBuiltInTabback to summary
private EntryEditorTab createBuiltInTab(EntryEditorTabModel.BuiltIn type)
createTabback to summary
public EntryEditorTab createTab(EntryEditorTabModel model)

Maps a single EntryEditorTabModel to its concrete EntryEditorTab view, wiring in the user-controlled visibility derived from the same model. The Preview tab's toggle lives in the preview preferences ("show preview as a separate tab"), not in its tab model.

createTabsback to summary
public List<EntryEditorTab> createTabs()

Creates all tabs that can possibly be shown from EntryEditorTabModel, in display order.