X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fbundles%2FUiConfig.java;h=b6be9cb5ada1f93ac094608424d70a91b8685ec9;hb=97b36d32a43b7fbbd4938c95c4b40db0c68daa71;hp=ee9749125516c740ca76c6a4e0549d1b10472085;hpb=b4dc6ab518ded2dd92e4cbb02ac615b1d57e8e6d;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/bundles/UiConfig.java b/src/be/nikiroo/fanfix/bundles/UiConfig.java index ee97491..b6be9cb 100644 --- a/src/be/nikiroo/fanfix/bundles/UiConfig.java +++ b/src/be/nikiroo/fanfix/bundles/UiConfig.java @@ -1,19 +1,26 @@ package be.nikiroo.fanfix.bundles; import be.nikiroo.utils.resources.Meta; +import be.nikiroo.utils.resources.Meta.Format; /** * The configuration options. * * @author niki */ +@SuppressWarnings("javadoc") public enum UiConfig { - @Meta(what = "directory", where = "", format = "absolute path, $HOME variable supported, / is always accepted as dir separator", info = "The directory where to store temporary files, defaults to a directory 'fanfic-reader' in the system default temporary directory") + @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)") CACHE_DIR_LOCAL_READER, // - @Meta(what = "Output type", where = "Local Reader", format = "One of the known output type", info = "The type of output for the Local Reader for non-images documents") - LOCAL_READER_NON_IMAGES_DOCUMENT_TYPE, // - @Meta(what = "Output type", where = "Local Reader", format = "One of the known output type", info = "The type of output for the Local Reader for images documents") - LOCAL_READER_IMAGES_DOCUMENT_TYPE, // - @Meta(what = "A background colour", where = "Local Reader Frame", format = "#rrggbb", info = "The background colour if you don't want the default system one") + @Meta(format = Format.COMBO_LIST, list = { "INFO_TEXT", "EPUB", "HTML", + "TEXT" }, info = "One of the known output type", description = "The type of output for the GUI Reader for non-images documents") + GUI_NON_IMAGES_DOCUMENT_TYPE, // + @Meta(format = Format.COMBO_LIST, list = { "CBZ", "HTML" }, description = "The type of output for the GUI Reader for images documents") + GUI_IMAGES_DOCUMENT_TYPE, // + @Meta(info = "A command to start", description = "The command launched for images documents -- default to the system default for the current file type") + IMAGES_DOCUMENT_READER, // + @Meta(info = "A command to start", description = "The command launched for non images documents -- default to the system default for the current file type") + NON_IMAGES_DOCUMENT_READER, // + @Meta(format = Format.COLOR, description = "The background colour if you don't want the default system one") BACKGROUND_COLOR, // }