Top Fields Constructors Methods
org.jabref.gui.entryeditor

public Class PreviewTab

extends EntryEditorTab
implements OffersPreview
Class Inheritance
All Implemented Interfaces
org.jabref.gui.entryeditor.OffersPreview
Imports
org.jabref.gui.DialogService, .StateManager, org.jabref.gui.icon.IconTheme, org.jabref.gui.preview.PreviewPanel, org.jabref.gui.theme.ThemeManager, org.jabref.gui.util.TaskExecutor, org.jabref.logic.l10n.Localization, org.jabref.logic.pdf.search.IndexingTaskManager, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.preferences.PreferencesService

Field Summary

Modifier and TypeField and Description
private final BibDatabaseContext
private final DialogService
private final IndexingTaskManager
public static final String
private final PreferencesService
private PreviewPanel
private final StateManager
private final TaskExecutor
private final ThemeManager
Inherited from org.jabref.gui.entryeditor.EntryEditorTab:
currentEntry

Constructor Summary

AccessConstructor and Description
public
PreviewTab(BibDatabaseContext databaseContext, DialogService dialogService, PreferencesService preferences, StateManager stateManager, ThemeManager themeManager, IndexingTaskManager indexingTaskManager, TaskExecutor taskExecutor)

Method Summary

Modifier and TypeMethod and Description
protected void
bindToEntry(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.bindToEntry.

Updates the view with the contents of the given entry.

public void
nextPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.nextPreviewStyle.

Switch to next Preview style - should be overriden if a EntryEditorTab is actually showing a preview

public void
previousPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.previousPreviewStyle.

Switch to previous Preview style - should be overriden if a EntryEditorTab is actually showing a preview

public boolean
shouldShow(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.shouldShow.

Decide whether to show this tab for the given entry.

Inherited from org.jabref.gui.entryeditor.EntryEditorTab:
handleFocusnotifyAboutFocus

Field Detail

databaseContextback to summary
private final BibDatabaseContext databaseContext
dialogServiceback to summary
private final DialogService dialogService
indexingTaskManagerback to summary
private final IndexingTaskManager indexingTaskManager
NAMEback to summary
public static final String NAME
preferencesback to summary
private final PreferencesService preferences
previewPanelback to summary
private PreviewPanel previewPanel
stateManagerback to summary
private final StateManager stateManager
taskExecutorback to summary
private final TaskExecutor taskExecutor
themeManagerback to summary
private final ThemeManager themeManager

Constructor Detail

PreviewTabback to summary
public PreviewTab(BibDatabaseContext databaseContext, DialogService dialogService, PreferencesService preferences, StateManager stateManager, ThemeManager themeManager, IndexingTaskManager indexingTaskManager, TaskExecutor taskExecutor)

Method Detail

bindToEntryback to summary
protected void bindToEntry(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.bindToEntry.

Doc from org.jabref.gui.entryeditor.EntryEditorTab.bindToEntry.

Updates the view with the contents of the given entry.

Annotations
@Override
nextPreviewStyleback to summary
public void nextPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.nextPreviewStyle.

Doc from org.jabref.gui.entryeditor.OffersPreview.nextPreviewStyle.

Switch to next Preview style - should be overriden if a EntryEditorTab is actually showing a preview

Annotations
@Override
previousPreviewStyleback to summary
public void previousPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.previousPreviewStyle.

Doc from org.jabref.gui.entryeditor.OffersPreview.previousPreviewStyle.

Switch to previous Preview style - should be overriden if a EntryEditorTab is actually showing a preview

Annotations
@Override
shouldShowback to summary
public boolean shouldShow(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.shouldShow.

Doc from org.jabref.gui.entryeditor.EntryEditorTab.shouldShow.

Decide whether to show this tab for the given entry.

Annotations
@Override