r3752 - in trunk/lima-swing/src/main: java/org/chorem/lima/ui resources/i18n
Author: sbavencoff Date: 2014-03-05 16:07:37 +0100 (Wed, 05 Mar 2014) New Revision: 3752 Url: http://forge.chorem.org/projects/lima/repository/revisions/3752 Log: refs #971 : add color in setting frame Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java 2014-03-05 11:59:43 UTC (rev 3751) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/MainViewHandler.java 2014-03-05 15:07:37 UTC (rev 3752) @@ -199,6 +199,59 @@ helper.addOption(LimaConfig.Option.CONFIG_FILE); helper.setOptionShortLabel(LimaConfig.Option.CONFIG_FILE.getLabel()); + helper.addCategory(_("lima.config.category.table"), _("lima.config.category.table.description")); + helper.addOption(LimaConfig.Option.TABLE_CELL_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_SELECTED_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_SELECTED_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_SELECTED_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_SELECTED_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_ERROR_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_ERROR_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_ERROR_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_ERROR_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_ERROR_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_ERROR_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_ERROR_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_ERROR_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_SELECTED_ERROR_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_SELECTED_ERROR_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_SELECTED_ERROR_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_SELECTED_ERROR_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_ERROR_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_ERROR_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_ERROR_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_ERROR_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_MANDATORY_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_MANDATORY_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_MANDATORY_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_MANDATORY_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_MANDATORY_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_MANDATORY_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_MANDATORY_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_MANDATORY_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_SELECTED_MANDATORY_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_SELECTED_MANDATORY_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_SELECTED_MANDATORY_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_SELECTED_MANDATORY_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_MANDATORY_BACKGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_MANDATORY_BACKGROUND.getLabel()); + helper.addOption(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_MANDATORY_FOREGROUND); + helper.setOptionShortLabel(LimaConfig.Option.TABLE_CELL_PAIR_SELECTED_MANDATORY_FOREGROUND.getLabel()); + helper.addOption(LimaConfig.Option.COLOR_SELECTION_FOCUS); + helper.setOptionShortLabel(LimaConfig.Option.COLOR_SELECTION_FOCUS.getLabel()); + + helper.addCategory(_("lima.config.category.other"), _("lima.config.category.other.description")); helper.addOption(LimaConfig.Option.FULL_SCREEN); helper.setOptionShortLabel(LimaConfig.Option.FULL_SCREEN.getLabel()); @@ -216,10 +269,6 @@ * car les deux éditeurs concernés rappellent la config dans un listener ('focusGained')*/ helper.addOption(LimaConfig.Option.SELECT_ALL_EDITING_CELL); helper.setOptionShortLabel(LimaConfig.Option.SELECT_ALL_EDITING_CELL.getLabel()); - helper.addOption(LimaConfig.Option.COLOR_SELECTION_FOCUS); - helper.setOptionShortLabel(LimaConfig.Option.COLOR_SELECTION_FOCUS.getLabel()); - helper.setOptionCallBack(LimaConfig.Option.COLOR_SELECTION_FOCUS.key); - helper.setOptionShortLabel(LimaConfig.Option.COLOR_SELECTION_FOCUS.getLabel()); helper.buildUI(context, _("lima.config.category.directories")); helper.displayUI(ui, false); Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014-03-05 11:59:43 UTC (rev 3751) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014-03-05 15:07:37 UTC (rev 3752) @@ -89,8 +89,11 @@ lima.common.update=Modify lima.config.category.directories=Directories lima.config.category.directories.description=Directories used by LIMA +lima.config.category.directories.table= lima.config.category.other=Other lima.config.category.other.description=Other configuration properties +lima.config.category.table= +lima.config.category.table.description= lima.config.cell.background.description= lima.config.cell.background.label= lima.config.cell.error.background.description= Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties =================================================================== --- trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014-03-05 11:59:43 UTC (rev 3751) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014-03-05 15:07:37 UTC (rev 3752) @@ -80,54 +80,56 @@ lima.config.category.directories.description=Répertoires utilisés par Lima lima.config.category.other=Autre lima.config.category.other.description=Autre propriétés de configuration -lima.config.cell.background.description= -lima.config.cell.background.label= -lima.config.cell.error.background.description= -lima.config.cell.error.background.label= -lima.config.cell.error.foreground.description= -lima.config.cell.error.foreground.label= -lima.config.cell.foreground.description= -lima.config.cell.foreground.label= -lima.config.cell.mandatory.background.description= -lima.config.cell.mandatory.background.label= -lima.config.cell.mandatory.foreground.description= -lima.config.cell.mandatory.foreground.label= -lima.config.cell.pair.background.description= -lima.config.cell.pair.background.label= -lima.config.cell.pair.error.background.description= -lima.config.cell.pair.error.background.label= -lima.config.cell.pair.error.foreground.description= -lima.config.cell.pair.error.foreground.label= -lima.config.cell.pair.foreground.description= -lima.config.cell.pair.foreground.label= -lima.config.cell.pair.mandatory.background.description= -lima.config.cell.pair.mandatory.background.label= -lima.config.cell.pair.mandatory.foreground.description= -lima.config.cell.pair.mandatory.foreground.label= -lima.config.cell.pair.selected.background.description= -lima.config.cell.pair.selected.background.label= -lima.config.cell.pair.selected.error.background.description= -lima.config.cell.pair.selected.error.background.label= -lima.config.cell.pair.selected.error.foreground.description= -lima.config.cell.pair.selected.error.foreground.label= -lima.config.cell.pair.selected.foreground.description= -lima.config.cell.pair.selected.foreground.label= -lima.config.cell.pair.selected.mandatory.background.description= -lima.config.cell.pair.selected.mandatory.background.label= -lima.config.cell.pair.selected.mandatory.foreground.description= -lima.config.cell.pair.selected.mandatory.foreground.label= -lima.config.cell.selected.background.description= -lima.config.cell.selected.background.label= -lima.config.cell.selected.error.background.description= -lima.config.cell.selected.error.background.label= -lima.config.cell.selected.error.foreground.description= -lima.config.cell.selected.error.foreground.label= -lima.config.cell.selected.foreground.description= -lima.config.cell.selected.foreground.label= -lima.config.cell.selected.mandatory.background.description= -lima.config.cell.selected.mandatory.background.label= -lima.config.cell.selected.mandatory.foreground.description= -lima.config.cell.selected.mandatory.foreground.label= +lima.config.category.table=Tableaux +lima.config.category.table.description=Propriété des tableaux +lima.config.cell.background.description=Couleur de fond d'une cellule +lima.config.cell.background.label=Couleur de fond +lima.config.cell.error.background.description=Couleur de fond d'une cellule en erreur +lima.config.cell.error.background.label=Couleur de fond en erreur +lima.config.cell.error.foreground.description=Couleur du texte d'une cellule en erreur +lima.config.cell.error.foreground.label=Couleur du texte en erreur +lima.config.cell.foreground.description=Couleur du texte d'une cellule +lima.config.cell.foreground.label=Couleur du texte +lima.config.cell.mandatory.background.description=Couleur de fond d'une cellule vide dont la valeur est obligatoire +lima.config.cell.mandatory.background.label=Couleur de fond obligatoire +lima.config.cell.mandatory.foreground.description=Couleur du texte d'une cellule vide dont la valeur est obligatoire +lima.config.cell.mandatory.foreground.label=Couleur du texte obligatoire +lima.config.cell.pair.background.description=Couleur de fond d'une ligne paire +lima.config.cell.pair.background.label=Couleur de fond paire +lima.config.cell.pair.error.background.description=Couleur de fond d'une ligne paire +lima.config.cell.pair.error.background.label=Couleur de fond paire +lima.config.cell.pair.error.foreground.description=Couleur du texte d'une ligne paire en erreur +lima.config.cell.pair.error.foreground.label=Couleur du texte paire en erreur +lima.config.cell.pair.foreground.description=Couleur du texte d'une ligne paire +lima.config.cell.pair.foreground.label=Couleur du texte paire +lima.config.cell.pair.mandatory.background.description=Couleur de fond d'une cellule vide dont la valeur est obligatoire dans une ligne paire +lima.config.cell.pair.mandatory.background.label=Couleur de fond paire en erreur +lima.config.cell.pair.mandatory.foreground.description=Couleur du texte d'une cellule en erreur et vide dont la valeur est obligatoire dans une ligne paire +lima.config.cell.pair.mandatory.foreground.label=Couleur de fond paire en erreur +lima.config.cell.pair.selected.background.description=Couleur de fond d'une ligne paire sélectionnée +lima.config.cell.pair.selected.background.label=Couleur de fond paire sélectionnée +lima.config.cell.pair.selected.error.background.description=Couleur de fond d'une cellule en erreur dans une ligne paire sélectionnée +lima.config.cell.pair.selected.error.background.label=Couleur de fond paire sélectionnée en erreur +lima.config.cell.pair.selected.error.foreground.description=Couleur du texte d'une cellule en erreur dans une ligne paire sélectionnée +lima.config.cell.pair.selected.error.foreground.label=Couleur du texte paire sélectionnée en erreur +lima.config.cell.pair.selected.foreground.description=Couleur du texte d'une ligne paire sélectionnée +lima.config.cell.pair.selected.foreground.label=Couleur du texte paire sélectionnée +lima.config.cell.pair.selected.mandatory.background.description=Couleur de fond d'une cellule vide dont la valeur est obligatoire pour une ligne paire selectionnée +lima.config.cell.pair.selected.mandatory.background.label=Couleur de fond paire sélectionnée obligatoire +lima.config.cell.pair.selected.mandatory.foreground.description=Couleur du texte d'une cellule vide dont la valeur est obligatoire pour une ligne paire sélectionnée +lima.config.cell.pair.selected.mandatory.foreground.label=Couleur du texte paire sélectionnée obligatoire +lima.config.cell.selected.background.description=Couleur de fond d'une ligne sélectionnée +lima.config.cell.selected.background.label=Couleur de fond sélectionnée +lima.config.cell.selected.error.background.description=Couleur de fond d'une cellule en erreur dans une ligne sélectionnée +lima.config.cell.selected.error.background.label=Couleur de fond sélectionnée en erreur +lima.config.cell.selected.error.foreground.description=Couleur du texte d'une cellule en erreur dans une ligne sélectionnée +lima.config.cell.selected.error.foreground.label=Couleur du texte sélectionnée en erreur +lima.config.cell.selected.foreground.description=Couleur du texte d'une ligne sélectionnée +lima.config.cell.selected.foreground.label=Couleur du texte sélectionnée +lima.config.cell.selected.mandatory.background.description=Couleur de fond d'une cellule vide dont la valeur est obligatoire pour une ligne sélectionnée +lima.config.cell.selected.mandatory.background.label=Couleur de fond sélectionnée obligatoire +lima.config.cell.selected.mandatory.foreground.description=Couleur du texte d'une cellule vide dont la valeur est obligatoire pour une ligne sélectionnée +lima.config.cell.selected.mandatory.foreground.label=Couleur du texte sélectionnée obligatoire lima.config.colorselectionfocus= lima.config.colorselectionfocus.description=Couleur des bordures de la séléction lima.config.colorselectionfocus.label=Couleur de l'encadrement de sélection d'une cellule
participants (1)
-
sbavencoff@users.chorem.org