| 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 config directory (usually $HOME/.fanfix)") |
| 14 | CACHE_DIR_LOCAL_READER, // |
| 15 | @Meta(format = Format.COMBO_LIST, list = { "INFO_TEXT", "EPUB", "HTML", |
| 16 | "TEXT" }, info = "One of the known output type", description = "The type of output for the GUI Reader for non-images documents") |
| 17 | GUI_NON_IMAGES_DOCUMENT_TYPE, // |
| 18 | @Meta(format = Format.COMBO_LIST, list = { "CBZ", "HTML" }, description = "The type of output for the GUI Reader for images documents") |
| 19 | GUI_IMAGES_DOCUMENT_TYPE, // |
| 20 | @Meta(format = Format.BOOLEAN, description = "Use the internal reader for images documents -- this is TRUE by default") |
| 21 | IMAGES_DOCUMENT_USE_INTERNAL_READER, // |
| 22 | @Meta(info = "A command to start", description = "The command launched for images documents -- default to the system default for the current file type") |
| 23 | IMAGES_DOCUMENT_READER, // |
| 24 | @Meta(format = Format.BOOLEAN, description = "Use the internal reader for non images documents -- this is TRUE by default") |
| 25 | NON_IMAGES_DOCUMENT_USE_INTERNAL_READER, // |
| 26 | @Meta(info = "A command to start", description = "The command launched for non images documents -- default to the system default for the current file type") |
| 27 | NON_IMAGES_DOCUMENT_READER, // |
| 28 | @Meta(format = Format.COLOR, description = "The background colour if you don't want the default system one") |
| 29 | BACKGROUND_COLOR, // |
| 30 | } |