Details
Description
Dialogs EPSOptions, HTMLOptions, SVGOptions are pretty much duplicates apart from two parameters:
- preferences key (EPS_RENDERING / HTML_RENDERING / SVG_RENDERING)
- message bundle parameter (EPS/HTML/SVG) for dialog title and label
and could easily be reduced to one class.
This may slightly simplify the JalviewJS refactoring of dialog chaining involving this dialog (JAL-3048).
Also:
- dialog title, and radio button label for HTML and SVG, are not i18n
- Preferences Output option is only for EPS - need options for HTML and SVG as well
- as it is, restoring 'Prompt each time' requires the user to know to delete the preference entry
- preferences key (EPS_RENDERING / HTML_RENDERING / SVG_RENDERING)
- message bundle parameter (EPS/HTML/SVG) for dialog title and label
and could easily be reduced to one class.
This may slightly simplify the JalviewJS refactoring of dialog chaining involving this dialog (
Also:
- dialog title, and radio button label for HTML and SVG, are not i18n
- Preferences Output option is only for EPS - need options for HTML and SVG as well
- as it is, restoring 'Prompt each time' requires the user to know to delete the preference entry