| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private final FilePreferences | |
| private final ObservableList | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public ObservableList | |
| private boolean | |
| public boolean | |
| 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. |
| protected void | |
| public void | storeSettings()
Implements org. This method is called when the user presses OK in the Preferences dialog. |
| private boolean |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| filePreferences | back to summary |
|---|---|
| private final FilePreferences filePreferences | |
| fileTypes | back to summary |
|---|---|
| private final ObservableList<ExternalFileTypeItemViewModel> fileTypes | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| ExternalFileTypesTabViewModel | back to summary |
|---|---|
| public ExternalFileTypesTabViewModel(FilePreferences filePreferences, DialogService dialogService) | |
| addNewType | back to summary |
|---|---|
| public boolean addNewType() | |
| edit | back to summary |
|---|---|
| public boolean edit(ExternalFileTypeItemViewModel type) | |
| getFileTypes | back to summary |
|---|---|
| public ObservableList | |
| isUniqueExtension | back to summary |
|---|---|
| private boolean isUniqueExtension(ExternalFileTypeItemViewModel item) | |
| isValidExternalFileType | back to summary |
|---|---|
| public boolean isValidExternalFileType(ExternalFileTypeItemViewModel item) | |
| remove | back to summary |
|---|---|
| public void remove(ExternalFileTypeItemViewModel type) | |
| resetToDefaults | back to summary |
|---|---|
| public void resetToDefaults() | |
| 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.
| |
| showEditDialog | back to summary |
|---|---|
| protected void showEditDialog(ExternalFileTypeItemViewModel item, String dialogTitle) | |
| 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. | |
| withEmptyValue | back to summary |
|---|---|
| private boolean withEmptyValue(ExternalFileTypeItemViewModel item) | |