| Modifier and Type | Field and Description |
|---|---|
| private final AbbreviationPreferences | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final ObjectProperty | |
| private final ListProperty | |
| private final BooleanProperty | |
| private final DialogService | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final EntryEditorPreferences | |
| private final BooleanProperty | |
| private static final Logger | |
| private final MrDlibPreferences | |
| private boolean | |
| private final BooleanProperty | |
| private final ObservableList | tabs
Working copy of tab configurations — not the live preferences list. |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | EntryEditorTabViewModel(DialogService dialogService, EntryEditorPreferences entryEditorPreferences, MrDlibPreferences mrDlibPreferences, AbbreviationPreferences abbreviationPreferences, TaskExecutor taskExecutor)
|
| Modifier and Type | Method and Description |
|---|---|
| public BooleanProperty | |
| public Optional | addCustomTab(String name)
Adds a custom tab with the given name, or returns the existing tab when one with that name (custom or built-in, compared case-insensitively) is already present. |
| public boolean | addFieldPattern(EditorTabViewModel tab, String pattern)
Adds a field pattern to the given custom tab; |
| public BooleanProperty | |
| public BooleanProperty | |
| public ObjectProperty | |
| public ReadOnlyListProperty | |
| private static boolean | |
| public BooleanProperty | |
| private void | |
| public BooleanProperty | |
| public BooleanProperty | |
| public ObservableList | |
| public boolean | isFieldPatternDuplicated(String pattern)
|
| public BooleanProperty | |
| private void | |
| public BooleanProperty | |
| public void | |
| public void | |
| public void | resetToDefaults()
Restores the default tab set: every built-in tab visible in default order, no custom tabs. |
| public void | setValues()
Implements org. This method is called when the dialog is opened, or if it is made visible after being hidden. |
| public void | storeSettings()
Implements org. This method is called when the user presses OK in the Preferences dialog. |
| abbreviationPreferences | back to summary |
|---|---|
| private final AbbreviationPreferences abbreviationPreferences | |
| acceptRecommendationsProperty | back to summary |
|---|---|
| private final BooleanProperty acceptRecommendationsProperty | |
| allowIntegerEditionProperty | back to summary |
|---|---|
| private final BooleanProperty allowIntegerEditionProperty | |
| autoLinkEnabledProperty | back to summary |
|---|---|
| private final BooleanProperty autoLinkEnabledProperty | |
| citationCountFetcherTypeProperty | back to summary |
|---|---|
| private final ObjectProperty<CitationCountFetcherType> citationCountFetcherTypeProperty | |
| citationCountFetcherTypes | back to summary |
|---|---|
| private final ListProperty<CitationCountFetcherType> citationCountFetcherTypes | |
| defaultSourceProperty | back to summary |
|---|---|
| private final BooleanProperty defaultSourceProperty | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| enableMscKeywordDescriptionsProperty | back to summary |
|---|---|
| private final BooleanProperty enableMscKeywordDescriptionsProperty | |
| enableValidationProperty | back to summary |
|---|---|
| private final BooleanProperty enableValidationProperty | |
| entryEditorPreferences | back to summary |
|---|---|
| private final EntryEditorPreferences entryEditorPreferences | |
| journalPopupProperty | back to summary |
|---|---|
| private final BooleanProperty journalPopupProperty | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| mrDlibPreferences | back to summary |
|---|---|
| private final MrDlibPreferences mrDlibPreferences | |
| mscKeywordDescriptionsInitialized | back to summary |
|---|---|
| private boolean mscKeywordDescriptionsInitialized | |
| openOnNewEntryProperty | back to summary |
|---|---|
| private final BooleanProperty openOnNewEntryProperty | |
| tabs | back to summary |
|---|---|
| private final ObservableList<EditorTabViewModel> tabs Working copy of tab configurations — not the live preferences list.
Written to preferences only in | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| EntryEditorTabViewModel | back to summary |
|---|---|
| public EntryEditorTabViewModel(DialogService dialogService, EntryEditorPreferences entryEditorPreferences, MrDlibPreferences mrDlibPreferences, AbbreviationPreferences abbreviationPreferences, TaskExecutor taskExecutor) | |
| acceptRecommendationsProperty | back to summary |
|---|---|
| public BooleanProperty acceptRecommendationsProperty() | |
| addCustomTab | back to summary |
|---|---|
| public Optional Adds a custom tab with the given name, or returns the existing tab when one with that name (custom or built-in, compared case-insensitively) is already present. Empty for a blank name. | |
| addFieldPattern | back to summary |
|---|---|
| public boolean addFieldPattern(EditorTabViewModel tab, String pattern) Adds a field pattern to the given custom tab; | |
| allowIntegerEditionProperty | back to summary |
|---|---|
| public BooleanProperty allowIntegerEditionProperty() | |
| autoLinkFilesEnabledProperty | back to summary |
|---|---|
| public BooleanProperty autoLinkFilesEnabledProperty() | |
| citationCountFetcherTypeProperty | back to summary |
|---|---|
| public ObjectProperty | |
| citationCountFetcherTypes | back to summary |
|---|---|
| public ReadOnlyListProperty | |
| containsIgnoreCase | back to summary |
|---|---|
| private static boolean containsIgnoreCase(List<String> patterns, String pattern) | |
| defaultSourceProperty | back to summary |
|---|---|
| public BooleanProperty defaultSourceProperty() | |
| downloadMscCodes | back to summary |
|---|---|
| private void downloadMscCodes() | |
| enableMscKeywordDescriptionsProperty | back to summary |
|---|---|
| public BooleanProperty enableMscKeywordDescriptionsProperty() | |
| enableValidationProperty | back to summary |
|---|---|
| public BooleanProperty enableValidationProperty() | |
| getTabs | back to summary |
|---|---|
| public ObservableList | |
| isFieldPatternDuplicated | back to summary |
|---|---|
| public boolean isFieldPatternDuplicated(String pattern)
| |
| journalPopupProperty | back to summary |
|---|---|
| public BooleanProperty journalPopupProperty() | |
| onMscKeywordDescriptionsChanged | back to summary |
|---|---|
| private void onMscKeywordDescriptionsChanged(Boolean newValue) | |
| openOnNewEntryProperty | back to summary |
|---|---|
| public BooleanProperty openOnNewEntryProperty() | |
| removeFieldPattern | back to summary |
|---|---|
| public void removeFieldPattern(EditorTabViewModel tab, String pattern) | |
| removeTab | back to summary |
|---|---|
| public void removeTab(EditorTabViewModel tab) | |
| resetToDefaults | back to summary |
|---|---|
| public void resetToDefaults() Restores the default tab set: every built-in tab visible in default order, no custom tabs. | |
| setValues | back to summary |
|---|---|
| public void setValues() Implements org. Doc from org. This method is called when the dialog is opened, or if it is made visible after being hidden. The tab should update all its values. This is the ONLY PLACE to set values for the fields in the tab. It is ILLEGAL to set values only at construction time, because the dialog will be reused and updated.
| |
| storeSettings | back to summary |
|---|---|
| public void storeSettings() Implements org. Doc from org. This method is called when the user presses OK in the Preferences dialog. Implementing classes must make sure all settings presented get stored in PreferencesService.
| |