| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private final ListProperty | |
| private final KeyBindingRepository | |
| private final PreferencesService | |
| private final List | |
| private final ObjectProperty | |
| private final OptionalObjectProperty |
| Access | Constructor and Description |
|---|---|
| public | KeyBindingsTabViewModel(KeyBindingRepository keyBindingRepository, DialogService dialogService, PreferencesService preferences)
|
| Modifier and Type | Method and Description |
|---|---|
| public KeyBindingRepository | |
| public List | getRestartWarnings()
Overrides default org. This method should be called after storing the preferences, to collect the properties, which require a restart of JabRef to load |
| public ListProperty | |
| public void | |
| public void | |
| public ObjectProperty | |
| public OptionalObjectProperty | |
| public void | |
| public void | setValues()
Implements org. Read all keybindings from the keybinding repository and create table keybinding models for them |
| public void | storeSettings()
Implements org. This method is called when the user presses OK in the Preferences dialog. |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| keyBindingPresets | back to summary |
|---|---|
| private final ListProperty<KeyBindingPreset> keyBindingPresets | |
| keyBindingRepository | back to summary |
|---|---|
| private final KeyBindingRepository keyBindingRepository | |
| preferences | back to summary |
|---|---|
| private final PreferencesService preferences | |
| restartWarning | back to summary |
|---|---|
| private final List<String> restartWarning | |
| rootKeyBinding | back to summary |
|---|---|
| private final ObjectProperty<KeyBindingViewModel> rootKeyBinding | |
| selectedKeyBinding | back to summary |
|---|---|
| private final OptionalObjectProperty<KeyBindingViewModel> selectedKeyBinding | |
| KeyBindingsTabViewModel | back to summary |
|---|---|
| public KeyBindingsTabViewModel(KeyBindingRepository keyBindingRepository, DialogService dialogService, PreferencesService preferences) | |
| getKeyBindingRepository | back to summary |
|---|---|
| public KeyBindingRepository getKeyBindingRepository() | |
| getRestartWarnings | back to summary |
|---|---|
| public List Overrides default org. Doc from org. This method should be called after storing the preferences, to collect the properties, which require a restart of JabRef to load | |
| keyBindingPresets | back to summary |
|---|---|
| public ListProperty | |
| loadPreset | back to summary |
|---|---|
| public void loadPreset(KeyBindingPreset preset) | |
| resetToDefault | back to summary |
|---|---|
| public void resetToDefault() | |
| rootKeyBindingProperty | back to summary |
|---|---|
| public ObjectProperty | |
| selectedKeyBindingProperty | back to summary |
|---|---|
| public OptionalObjectProperty | |
| setNewBindingForCurrent | back to summary |
|---|---|
| public void setNewBindingForCurrent(KeyEvent event) | |
| setValues | back to summary |
|---|---|
| public void setValues() Implements org. Read all keybindings from the keybinding repository and create table keybinding models for them
| |
| 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. | |