| Modifier and Type | Field and Description |
|---|---|
| private final CompoundEdit | dialogEdits
One step for the whole dialog: every tab records into this, and OK pushes it as a single undo entry. |
| private final ObservableList | |
| private final UndoManager |
| Access | Constructor and Description |
|---|---|
| public | AutomaticFieldEditorViewModel(BibDatabase database, UndoManager undoManager, DialogService dialogService, StateManager stateManager)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ObservableList | |
| public void |
| dialogEdits | back to summary |
|---|---|
| private final CompoundEdit dialogEdits One step for the whole dialog: every tab records into this, and OK pushes it as a single undo entry. Named after the dialog, because that is what the user acted in. | |
| fieldEditorTabs | back to summary |
|---|---|
| private final ObservableList<AutomaticFieldEditorTab> fieldEditorTabs | |
| undoManager | back to summary |
|---|---|
| private final UndoManager undoManager | |
| AutomaticFieldEditorViewModel | back to summary |
|---|---|
| public AutomaticFieldEditorViewModel(BibDatabase database, UndoManager undoManager, DialogService dialogService, StateManager stateManager) | |
| cancelChanges | back to summary |
|---|---|
| public void cancelChanges() Reverts what the tabs already wrote to the library, without recording anything. The one deliberate write outside the journal, and it stays outside on purpose: nothing
was ever pushed — | |
| getFieldEditorTabs | back to summary |
|---|---|
| public ObservableList | |
| saveChanges | back to summary |
|---|---|
| public void saveChanges() | |