| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private final ExternalApplicationsPreferences | |
| private final FilePreferences | |
| private static final Logger | |
| private final ProtectedTermsPreferences | |
| private final ListProperty | |
| private final ProtectedTermsLoader |
| Access | Constructor and Description |
|---|---|
| public | ProtectedTermsTabViewModel(ProtectedTermsLoader termsLoader, DialogService dialogService, ExternalApplicationsPreferences externalApplicationsPreferences, FilePreferences filePreferences, ProtectedTermsPreferences protectedTermsPreferences)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| 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. |
| public ListProperty |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| externalApplicationsPreferences | back to summary |
|---|---|
| private final ExternalApplicationsPreferences externalApplicationsPreferences | |
| filePreferences | back to summary |
|---|---|
| private final FilePreferences filePreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| protectedTermsPreferences | back to summary |
|---|---|
| private final ProtectedTermsPreferences protectedTermsPreferences | |
| termsFilesProperty | back to summary |
|---|---|
| private final ListProperty<ProtectedTermsListItemModel> termsFilesProperty | |
| termsLoader | back to summary |
|---|---|
| private final ProtectedTermsLoader termsLoader | |
| ProtectedTermsTabViewModel | back to summary |
|---|---|
| public ProtectedTermsTabViewModel(ProtectedTermsLoader termsLoader, DialogService dialogService, ExternalApplicationsPreferences externalApplicationsPreferences, FilePreferences filePreferences, ProtectedTermsPreferences protectedTermsPreferences) | |
| addFile | back to summary |
|---|---|
| public void addFile() | |
| createNewFile | back to summary |
|---|---|
| public void createNewFile() | |
| displayContent | back to summary |
|---|---|
| public void displayContent(ProtectedTermsListItemModel itemModel) | |
| edit | back to summary |
|---|---|
| public void edit(ProtectedTermsListItemModel file) | |
| reloadList | back to summary |
|---|---|
| public void reloadList(ProtectedTermsListItemModel oldItemModel) | |
| removeList | back to summary |
|---|---|
| public void removeList(ProtectedTermsListItemModel itemModel) | |
| 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.
| |
| termsFilesProperty | back to summary |
|---|---|
| public ListProperty | |