Verified Owner
Top Fields Constructors Methods
org.jabref.gui.newentry

public Class NewEntryView

extends BaseDialog<BibEntry>
Class Inheritance
Imports
java.util.ArrayList, .Collection, .List, .Optional, javafx.application.Platform, javafx.fxml.FXML, javafx.geometry.Rectangle2D, javafx.scene.control.Button, .ButtonType, .ComboBox, .Hyperlink, .Label, .RadioButton, .Tab, .TabPane, .TextArea, .TextField, .TextInputControl, .TitledPane, .ToggleGroup, .Tooltip, javafx.scene.layout.HBox, .Region, .TilePane, javafx.stage.Screen, org.jabref.gui.DialogService, .LibraryTab, .StateManager, org.jabref.gui.clipboard.ClipBoardManager, org.jabref.gui.fieldeditors.EditorValidator, org.jabref.gui.preferences.GuiPreferences, org.jabref.gui.search.SearchType, org.jabref.gui.util.BaseDialog, .ControlHelper, .IconValidationDecorator, .UiTaskExecutor, .ViewModelListCellFactory, org.jabref.logic.ai.AiService, org.jabref.logic.importer.IdBasedFetcher, .ImportFormatPreferences, .WebFetcher, .WebFetchers, org.jabref.logic.importer.fetcher.DoiFetcher, org.jabref.logic.importer.plaincitation.PlainCitationParserChoice, org.jabref.logic.l10n.Localization, org.jabref.logic.util.TaskExecutor, .URLUtil, org.jabref.logic.util.strings.StringUtil, org.jabref.model.database.BibDatabaseMode, org.jabref.model.entry.BibEntry, .BibEntryType, .BibEntryTypesManager, org.jabref.model.entry.identifier.Identifier, org.jabref.model.entry.types.BiblatexAPAEntryTypeDefinitions, .BiblatexApaEntryType, .BiblatexEntryTypeDefinitions, .BiblatexNonStandardEntryType, .BiblatexNonStandardEntryTypeDefinitions, .BiblatexSoftwareEntryTypeDefinitions, .BibtexEntryTypeDefinitions, .EntryType, .IEEETranEntryTypeDefinitions, .StandardEntryType, org.jabref.model.util.FileUpdateMonitor, com.airhacks.afterburner.injection.Injector, com.airhacks.afterburner.views.ViewLoader, com.tobiasdiez.easybind.EasyBind, de.saxsys.mvvmfx.utils.validation.visualization.ControlsFxVisualizer, jakarta.inject.Inject, org.jspecify.annotations.NonNull, .Nullable

Field Summary

Modifier and TypeField and Description
private AiService
private static final String
private TextArea
private NewEntryDialogTab
private final DialogService
private TilePane
private TitledPane
private TilePane
private TitledPane
private TilePane
private TitledPane
private TilePane
private TitledPane
private FileUpdateMonitor
private Button
private ButtonType
private Label
private Label
private ComboBox<IdBasedFetcher>
private Hyperlink
private RadioButton
private RadioButton
private HBox
private TextField
private Tooltip
private final ImportFormatPreferences
private final NewEntryDialogTab
private ComboBox<PlainCitationParserChoice>
private TextArea
private final LibraryTab
private static final String
private final NewEntryPreferences
private final GuiPreferences
private BibEntry
private StateManager
private Tab
private Tab
private Tab
private Tab
private TabPane
private Tab
private TaskExecutor
private Label
private TextField
private NewEntryViewModel
private final de.saxsys.mvvmfx.utils.validation.visualization.ControlsFxVisualizer

Constructor Summary

AccessConstructor and Description
public
NewEntryView(NewEntryDialogTab initialApproach, GuiPreferences preferences, LibraryTab libraryTab, DialogService dialogService)

Method Summary

Modifier and TypeMethod and Description
private void
private void
private static @NonNull String
private static String
private static @NonNull String
private static @NonNull String
private void
private @Nullable IdBasedFetcher
fetcherFromName(String fetcherName)

private void
public void
private void
private void
private void
private void
private void
private void
private void
private static @NonNull PlainCitationParserChoice
private void
private void
private void
private void
private void
private void
Inherited from org.jabref.gui.util.BaseDialog:
bringToFrontcloseOnKeyBindingMatchfitWindowToContent

Field Detail

aiServiceback to summary
private AiService aiService
Annotations
@Inject
BIBTEX_REGEXback to summary
private static final String BIBTEX_REGEX
bibtexTextback to summary
private TextArea bibtexText
Annotations
@FXML
currentApproachback to summary
private NewEntryDialogTab currentApproach
dialogServiceback to summary
private final DialogService dialogService
entryCustomback to summary
private TilePane entryCustom
Annotations
@FXML
entryCustomTitleback to summary
private TitledPane entryCustomTitle
Annotations
@FXML
entryNonStandardback to summary
private TilePane entryNonStandard
Annotations
@FXML
entryNonStandardTitleback to summary
private TitledPane entryNonStandardTitle
Annotations
@FXML
entryOtherback to summary
private TilePane entryOther
Annotations
@FXML
entryOtherTitleback to summary
private TitledPane entryOtherTitle
Annotations
@FXML
entryRecommendedback to summary
private TilePane entryRecommended
Annotations
@FXML
entryRecommendedTitleback to summary
private TitledPane entryRecommendedTitle
Annotations
@FXML
fileUpdateMonitorback to summary
private FileUpdateMonitor fileUpdateMonitor
Annotations
@Inject
generateButtonback to summary
private Button generateButton
generateButtonTypeback to summary
private ButtonType generateButtonType
Annotations
@FXML
idErrorInvalidFetcherback to summary
private Label idErrorInvalidFetcher
Annotations
@FXML
idErrorInvalidTextback to summary
private Label idErrorInvalidText
Annotations
@FXML
idFetcherback to summary
private ComboBox<IdBasedFetcher> idFetcher
Annotations
@FXML
idLookupGuessback to summary
private RadioButton idLookupGuess
Annotations
@FXML
idLookupSpecifyback to summary
private RadioButton idLookupSpecify
Annotations
@FXML
idSearchingBoxback to summary
private HBox idSearchingBox
Annotations
@FXML
idTextback to summary
private TextField idText
Annotations
@FXML
idTextTooltipback to summary
private Tooltip idTextTooltip
Annotations
@FXML
importFormatPreferencesback to summary
private final ImportFormatPreferences importFormatPreferences
initialApproachback to summary
private final NewEntryDialogTab initialApproach
interpretParserback to summary
private ComboBox<PlainCitationParserChoice> interpretParser
Annotations
@FXML
interpretTextback to summary
private TextArea interpretText
Annotations
@FXML
libraryTabback to summary
private final LibraryTab libraryTab
LINE_BREAKback to summary
private static final String LINE_BREAK
newEntryPreferencesback to summary
private final NewEntryPreferences newEntryPreferences
preferencesback to summary
private final GuiPreferences preferences
resultback to summary
private BibEntry result
stateManagerback to summary
private StateManager stateManager
Annotations
@Inject
tabAddEntryback to summary
private Tab tabAddEntry
Annotations
@FXML
tabEnterUrlback to summary
private Tab tabEnterUrl
Annotations
@FXML
tabInterpretCitationsback to summary
private Tab tabInterpretCitations
Annotations
@FXML
tabLookupIdentifierback to summary
private Tab tabLookupIdentifier
Annotations
@FXML
tabsback to summary
private TabPane tabs
Annotations
@FXML
tabSpecifyBibtexback to summary
private Tab tabSpecifyBibtex
Annotations
@FXML
taskExecutorback to summary
private TaskExecutor taskExecutor
Annotations
@Inject
urlErrorInvalidTextback to summary
private Label urlErrorInvalidText
Annotations
@FXML
urlTextback to summary
private TextField urlText
Annotations
@FXML
viewModelback to summary
private NewEntryViewModel viewModel
visualizerback to summary
private final de.saxsys.mvvmfx.utils.validation.visualization.ControlsFxVisualizer visualizer

Constructor Detail

NewEntryViewback to summary
public NewEntryView(NewEntryDialogTab initialApproach, GuiPreferences preferences, LibraryTab libraryTab, DialogService dialogService)

Method Detail

addEntriesToPaneback to summary
private void addEntriesToPane(TilePane pane, Collection<? extends BibEntryType> entries)
cancelback to summary
private void cancel()
descriptionOfApaEntryTypeback to summary
private static @NonNull String descriptionOfApaEntryType(BiblatexApaEntryType type)
descriptionOfEntryTypeback to summary
private static String descriptionOfEntryType(EntryType type)
descriptionOfNonStandardEntryTypeback to summary
private static @NonNull String descriptionOfNonStandardEntryType(BiblatexNonStandardEntryType type)
descriptionOfStandardEntryTypeback to summary
private static @NonNull String descriptionOfStandardEntryType(StandardEntryType type)
executeback to summary
private void execute()
fetcherFromNameback to summary
private @Nullable IdBasedFetcher fetcherFromName(String fetcherName)
finalizeTabsback to summary
private void finalizeTabs()
initializeback to summary
public void initialize()
Annotations
@FXML
initializeAddEntryback to summary
private void initializeAddEntry()
initializeEnterUrlback to summary
private void initializeEnterUrl()
initializeInterpretCitationsback to summary
private void initializeInterpretCitations()
initializeLookupIdentifierback to summary
private void initializeLookupIdentifier()
initializeSpecifyBibTeXback to summary
private void initializeSpecifyBibTeX()
onEntryTypeSelectedback to summary
private void onEntryTypeSelected(EntryType type)
onSuccessfulExecutionback to summary
private void onSuccessfulExecution()
parserFromNameback to summary
private static @NonNull PlainCitationParserChoice parserFromName(String parserName, List<PlainCitationParserChoice> parsers)
switchAddEntryback to summary
private void switchAddEntry()
Annotations
@FXML
switchEnterUrlback to summary
private void switchEnterUrl()
Annotations
@FXML
switchInterpretCitationsback to summary
private void switchInterpretCitations()
Annotations
@FXML
switchLookupIdentifierback to summary
private void switchLookupIdentifier()
Annotations
@FXML
switchSpecifyBibtexback to summary
private void switchSpecifyBibtex()
Annotations
@FXML
updateFetcherFromIdentifierTextback to summary
private void updateFetcherFromIdentifierText(@Nullable String text)