| 1 | package be.nikiroo.fanfix.bundles; |
| 2 | |
| 3 | import be.nikiroo.utils.resources.Meta; |
| 4 | import be.nikiroo.utils.resources.Meta.Format; |
| 5 | |
| 6 | /** |
| 7 | * The configuration options. |
| 8 | * |
| 9 | * @author niki |
| 10 | */ |
| 11 | @SuppressWarnings("javadoc") |
| 12 | public enum UiConfig { |
| 13 | @Meta(format = Format.DIRECTORY, info = "absolute path, $HOME variable supported, / is always accepted as dir separator", description = "The directory where to store temporary files, defaults to directory 'tmp.reader' in the conig directory (usually $HOME/.fanfix)") |
| 14 | CACHE_DIR_LOCAL_READER, // |
| 15 | @Meta(format = Format.COMBO_LIST, list = { "HTML", "CBZ" }, info = "One of the known output type", description = "The type of output for the Local Reader for non-images documents") |
| 16 | NON_IMAGES_DOCUMENT_TYPE, // |
| 17 | @Meta(format = Format.COMBO_LIST, list = { "HTML", "CBZ" }, description = "The type of output for the Local Reader for images documents") |
| 18 | IMAGES_DOCUMENT_TYPE, // |
| 19 | @Meta(info = "A command to start", description = "The command launched for images documents -- default to the system default for the current file type") |
| 20 | IMAGES_DOCUMENT_READER, // |
| 21 | @Meta(info = "A command to start", description = "The command launched for non images documents -- default to the system default for the current file type") |
| 22 | NON_IMAGES_DOCUMENT_READER, // |
| 23 | @Meta(format = Format.COLOR, description = "The background colour if you don't want the default system one") |
| 24 | BACKGROUND_COLOR, // |
| 25 | } |