@@ -278,21 +278,21 @@ private void navigateToNextEntry() {
278
278
private List <EntryEditorTab > createTabs () {
279
279
List <EntryEditorTab > tabs = new LinkedList <>();
280
280
281
- tabs .add (new PreviewTab (databaseContext , dialogService , preferencesService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), taskExecutor ));
281
+ tabs .add (new PreviewTab (databaseContext , dialogService , preferencesService , themeManager , libraryTab .getIndexingTaskManager (), taskExecutor , libraryTab . searchQueryProperty () ));
282
282
283
283
// Required, optional (important+detail), deprecated, and "other" fields
284
- tabs .add (new RequiredFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository ));
285
- tabs .add (new ImportantOptionalFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository ));
286
- tabs .add (new DetailOptionalFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository ));
287
- tabs .add (new DeprecatedFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository ));
288
- tabs .add (new OtherFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository ));
284
+ tabs .add (new RequiredFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository , libraryTab . searchQueryProperty () ));
285
+ tabs .add (new ImportantOptionalFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository , libraryTab . searchQueryProperty () ));
286
+ tabs .add (new DetailOptionalFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository , libraryTab . searchQueryProperty () ));
287
+ tabs .add (new DeprecatedFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository , libraryTab . searchQueryProperty () ));
288
+ tabs .add (new OtherFieldsTab (databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , themeManager , libraryTab .getIndexingTaskManager (), bibEntryTypesManager , taskExecutor , journalAbbreviationRepository , libraryTab . searchQueryProperty () ));
289
289
290
290
// Comment Tab: Tab for general and user-specific comments
291
- tabs .add (new CommentsTab (preferencesService , databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), taskExecutor , journalAbbreviationRepository ));
291
+ tabs .add (new CommentsTab (preferencesService , databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , themeManager , libraryTab .getIndexingTaskManager (), taskExecutor , journalAbbreviationRepository , libraryTab . searchQueryProperty () ));
292
292
293
293
Map <String , Set <Field >> entryEditorTabList = getAdditionalUserConfiguredTabs ();
294
294
for (Map .Entry <String , Set <Field >> tab : entryEditorTabList .entrySet ()) {
295
- tabs .add (new UserDefinedFieldsTab (tab .getKey (), tab .getValue (), databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , stateManager , themeManager , libraryTab .getIndexingTaskManager (), taskExecutor , journalAbbreviationRepository ));
295
+ tabs .add (new UserDefinedFieldsTab (tab .getKey (), tab .getValue (), databaseContext , libraryTab .getSuggestionProviders (), undoManager , undoAction , redoAction , dialogService , preferencesService , themeManager , libraryTab .getIndexingTaskManager (), taskExecutor , journalAbbreviationRepository , libraryTab . searchQueryProperty () ));
296
296
}
297
297
298
298
tabs .add (new MathSciNetTab ());
0 commit comments