Top Fields Constructors Methods
org.jabref.gui.preferences.customexporter

public Class CustomExporterTabViewModel

extends Object
implements PreferenceTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferenceTabViewModel
Imports
java.util.List, .Optional, java.util.stream.Collectors, javafx.beans.property.ListProperty, .SimpleListProperty, javafx.collections.FXCollections, org.jabref.gui.DialogService, org.jabref.gui.exporter.CreateModifyExporterDialogView, .ExporterViewModel, org.jabref.gui.preferences.PreferenceTabViewModel, org.jabref.logic.exporter.TemplateExporter, org.jabref.preferences.PreferencesService

Field Summary

Modifier and TypeField and Description
private final DialogService
private final ListProperty<ExporterViewModel>
private final PreferencesService
private final ListProperty<ExporterViewModel>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public ListProperty<ExporterViewModel>
public void
public void
public ListProperty<ExporterViewModel>
public void
setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden.

public void
storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

This method is called when the user presses OK in the Preferences dialog.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dialogServiceback to summary
private final DialogService dialogService
exportersback to summary
private final ListProperty<ExporterViewModel> exporters
preferencesback to summary
private final PreferencesService preferences
selectedExportersback to summary
private final ListProperty<ExporterViewModel> selectedExporters

Constructor Detail

CustomExporterTabViewModelback to summary
public CustomExporterTabViewModel(PreferencesService preferences, DialogService dialogService)

Method Detail

addExporterback to summary
public void addExporter()
exportersPropertyback to summary
public ListProperty<ExporterViewModel> exportersProperty()
modifyExporterback to summary
public void modifyExporter()
removeExportersback to summary
public void removeExporters()
selectedExportersPropertyback to summary
public ListProperty<ExporterViewModel> selectedExportersProperty()
setValuesback to summary
public void setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

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.

Annotations
@Override
storeSettingsback to summary
public void storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

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.

Annotations
@Override