Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe Commits: 2a1610aa by Tony CHEMIT at 2018-06-30T08:26:14Z Ecran de configuration du référentiel taille-taille : libellés - Closes #976 Gestion référentiel taille-taille : les enregistrements existants ne sont pas modifiables - Closes #985 - - - - - 6 changed files: - client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jaxx - client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jcss - client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jaxx - client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jcss - client/src/main/resources/i18n/client_es_ES.properties - client/src/main/resources/i18n/client_fr_FR.properties Changes: ===================================== client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jaxx ===================================== --- a/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jaxx +++ b/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jaxx @@ -68,23 +68,23 @@ <tab id='generalTab' computeI18n=""> <Table fill="both"> - <!-- sex --> + <!-- species --> <row> - <cell anchor="west"> - <JLabel id='sexLabel'/> + <cell anchor='west'> + <JLabel id='speciesLabel'/> </cell> <cell anchor='east' weightx="1" fill="both"> - <BeanComboBox id='sex' constructorParams='this' genericType='SexReference'/> + <BeanComboBox id='species' constructorParams='this' genericType='SpeciesReference'/> </cell> </row> - <!-- species --> + <!-- sex --> <row> - <cell anchor='west'> - <JLabel id='speciesLabel'/> + <cell anchor="west"> + <JLabel id='sexLabel'/> </cell> <cell anchor='east' weightx="1" fill="both"> - <BeanComboBox id='species' constructorParams='this' genericType='SpeciesReference'/> + <BeanComboBox id='sex' constructorParams='this' genericType='SexReference'/> </cell> </row> ===================================== client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jcss ===================================== --- a/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jcss +++ b/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthLengthParameterUI.jcss @@ -45,7 +45,6 @@ #sex { selectedItem:{bean.getSex()}; - enabled:{model.isCreatingMode()}; } #oceanLabel { @@ -55,7 +54,6 @@ #ocean { selectedItem:{bean.getOcean()}; - enabled:{model.isCreatingMode()}; } #inputSizeMeasureType { ===================================== client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jaxx ===================================== --- a/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jaxx +++ b/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jaxx @@ -84,23 +84,23 @@ public void decorateUniqueKeyTable(JTable table, TableCellRenderer renderer, JSc <tab id='generalTab' computeI18n=""> <Table fill="both"> - <!-- sex --> + <!-- species --> <row> - <cell anchor="west"> - <JLabel id='sexLabel'/> + <cell anchor='west'> + <JLabel id='speciesLabel'/> </cell> <cell anchor='east' weightx="1" fill="both"> - <BeanComboBox id='sex' constructorParams='this' genericType='SexReference'/> + <BeanComboBox id='species' constructorParams='this' genericType='SpeciesReference'/> </cell> </row> - <!-- species --> + <!-- sex --> <row> - <cell anchor='west'> - <JLabel id='speciesLabel'/> + <cell anchor="west"> + <JLabel id='sexLabel'/> </cell> <cell anchor='east' weightx="1" fill="both"> - <BeanComboBox id='species' constructorParams='this' genericType='SpeciesReference'/> + <BeanComboBox id='sex' constructorParams='this' genericType='SexReference'/> </cell> </row> ===================================== client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jcss ===================================== --- a/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jcss +++ b/client/src/main/java/fr/ird/observe/client/ui/content/ref/common/LengthWeightParameterUI.jcss @@ -41,7 +41,6 @@ #sex { property:{LengthWeightParameterDto.PROPERTY_SEX}; selectedItem:{bean.getSex()}; - enabled:{model.isCreatingMode()}; } #species { @@ -58,7 +57,6 @@ #ocean { property:{LengthWeightParameterDto.PROPERTY_OCEAN}; selectedItem:{bean.getOcean()}; - enabled:{model.isCreatingMode()}; } #sizeMeasureTypeLabel { ===================================== client/src/main/resources/i18n/client_es_ES.properties ===================================== --- a/client/src/main/resources/i18n/client_es_ES.properties +++ b/client/src/main/resources/i18n/client_es_ES.properties @@ -626,9 +626,9 @@ observe.common.I18nReferentialDto.label7=Texto 7 observe.common.I18nReferentialDto.label8=Texto 8 observe.common.I18nReferentialDto.libelles=Textos observe.common.LengthLengthParameterDto.generalTab=Características generales -observe.common.LengthLengthParameterDto.inputOutputFormulaInformation=La relation poids permet de calculer la taille de sortie à partir de la taille d'entrée, elle doit contenir la variable I \#TODO +observe.common.LengthLengthParameterDto.inputOutputFormulaInformation=La relation taille permet de calculer la taille de sortie à partir de la taille d'entrée, elle doit contenir la variable I (input) qui représente la taille d'entrée #TODO observe.common.LengthLengthParameterDto.otherTab=Otras características -observe.common.LengthLengthParameterDto.outputInputFormulaInformation=La relation poids permet de calculer la taille d'entrée à partir de la taille de sortie, elle doit contenir la variable O \#TODO +observe.common.LengthLengthParameterDto.outputInputFormulaInformation=La relation taille permet de calculer la taille d'entrée à partir de la taille de sortie, elle doit contenir la variable O (output) qui représente la taille de sortie\#TODO observe.common.LengthWeightParameterDto.generalTab=Características generales observe.common.LengthWeightParameterDto.lengthWeightFormulaInformation=La relación talla-peso permite calcular el peso a partir de la talla, debe contener la variable L observe.common.LengthWeightParameterDto.meanLength=Talla media (en cm) ===================================== client/src/main/resources/i18n/client_fr_FR.properties ===================================== --- a/client/src/main/resources/i18n/client_fr_FR.properties +++ b/client/src/main/resources/i18n/client_fr_FR.properties @@ -626,9 +626,9 @@ observe.common.I18nReferentialDto.label7=Libellé 7 observe.common.I18nReferentialDto.label8=Libellé 8 observe.common.I18nReferentialDto.libelles=Libellés observe.common.LengthLengthParameterDto.generalTab=Caractéristiques générales -observe.common.LengthLengthParameterDto.inputOutputFormulaInformation=La relation poids permet de calculer la taille de sortie à partir de la taille d'entrée, elle doit contenir la variable I +observe.common.LengthLengthParameterDto.inputOutputFormulaInformation=La relation taille permet de calculer la taille de sortie à partir de la taille d'entrée, elle doit contenir la variable I (input) qui représente la taille d'entrée observe.common.LengthLengthParameterDto.otherTab=Autres caractéristiques -observe.common.LengthLengthParameterDto.outputInputFormulaInformation=La relation poids permet de calculer la taille d'entrée à partir de la taille de sortie, elle doit contenir la variable O +observe.common.LengthLengthParameterDto.outputInputFormulaInformation=La relation taille permet de calculer la taille d'entrée à partir de la taille de sortie, elle doit contenir la variable O (output) qui représente la taille de sortie observe.common.LengthWeightParameterDto.generalTab=Caractéristiques générales observe.common.LengthWeightParameterDto.lengthWeightFormulaInformation=La relation poids permet de calculer le poids à partir de la taille observe.common.LengthWeightParameterDto.meanLength=Taille moyenne (en cm) View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/2a1610aa1a82c504f61ccf6947dc... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/2a1610aa1a82c504f61ccf6947dc... You're receiving this email because of your account on gitlab.com.