From sbavencoff@users.chorem.org Fri Sep 19 17:21:44 2014 From: sbavencoff@users.chorem.org To: lima-commits@list.chorem.org Subject: [Lima-commits] r3921 - in trunk/lima-swing/src/main: java/org/chorem/lima/ui/financialtransactionunbalanced resources/i18n Date: Fri, 19 Sep 2014 17:21:43 +0200 Message-ID: <20140919152143.D9544180208@goh.codelutin.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0896587324196029632==" --===============0896587324196029632== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: sbavencoff Date: 2014-09-19 17:21:43 +0200 (Fri, 19 Sep 2014) New Revision: 3921 Url: http://forge.chorem.org/projects/lima/repository/revisions/3921 Log: refs #875 #1043 : financial transaction unbalanced Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunba= lanced/FinancialTransactionUnbalancedView.css Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunba= lanced/FinancialTransactionUnbalancedView.jaxx trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunba= lanced/FinancialTransactionUnbalancedViewHandler.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 Added: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction= unbalanced/FinancialTransactionUnbalancedView.css =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunb= alanced/FinancialTransactionUnbalancedView.css (rev 0) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunb= alanced/FinancialTransactionUnbalancedView.css 2014-09-19 15:21:43 UTC (rev 3= 921) @@ -0,0 +1,46 @@ +#toolbar { + floatable : false; +} + +#removeTransaction { + actionIcon : "delete-financial-transaction"; + toolTipText : "lima.entries.remove.transaction"; + enabled : "{isSelectedRow()}"; +} + +#addEntry { + actionIcon : "add-entry"; + toolTipText : "lima.entries.addEntry"; + enabled : "{isSelectedRow()}"; +} + +#removeEntry { + actionIcon : "delete-entry"; + toolTipText : "lima.entries.remove.entry"; + enabled : "{isSelectedRow()}"; +} + +#balanceButton { + actionIcon : "balance"; + toolTipText : "lima.entries.balance"; + enabled : "{!isBalance()}"; +} + +#fiscalPeriodLabel { + actionIcon : "choose-fiscal-year"; + labelFor : "{fiscalPeriodComboBox}"; +} + +#fiscalPeriodComboBox { + toolTipText : "lima.financialTransaction.fiscalYear"; + renderer : "{new org.chorem.lima.ui.common.FiscalPeriodListRenderer()}"; +} + +#refresh { + toolTipText : "lima.refresh.shortcut"; + actionIcon : "refresh"; +} + +#financialTransactionUnbalancedTable { + rowHeight : "22"; +} Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransact= ionunbalanced/FinancialTransactionUnbalancedView.jaxx =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunb= alanced/FinancialTransactionUnbalancedView.jaxx 2014-09-19 14:50:34 UTC (rev = 3920) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunb= alanced/FinancialTransactionUnbalancedView.jaxx 2014-09-19 15:21:43 UTC (rev = 3921) @@ -23,7 +23,8 @@ #L% --> =20 - + + javax.swing.ListSelectionModel javax.swing.DefaultListSelectionModel @@ -31,6 +32,7 @@ org.chorem.lima.ui.combobox.FiscalPeriodComboBoxModel org.chorem.lima.ui.financialtransaction.FinancialTransactionDefaultTable + =20 @@ -42,7 +44,7 @@ =20 - + - - - - - - - - - =20 - - - - + =20 - - - + =20 - - - - - - - - -
\ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransact= ionunbalanced/FinancialTransactionUnbalancedViewHandler.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunb= alanced/FinancialTransactionUnbalancedViewHandler.java 2014-09-19 14:50:34 UT= C (rev 3920) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunb= alanced/FinancialTransactionUnbalancedViewHandler.java 2014-09-19 15:21:43 UT= C (rev 3921) @@ -386,7 +386,7 @@ tableModel.refresh(); table.clearSelection(); =20 - FiscalPeriodComboBoxModel comboBoxModel =3D view.getModelFiscalPerio= d(); + FiscalPeriodComboBoxModel comboBoxModel =3D view.getFiscalPeriodComb= oBoxModel(); comboBoxModel.refresh(); } } Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014= -09-19 14:50:34 UTC (rev 3920) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2014= -09-19 15:21:43 UTC (rev 3921) @@ -614,6 +614,7 @@ lima.preferences=3DPreferences lima.quit=3DExit lima.refresh=3DRefresh +lima.refresh.shortcut=3D lima.remove=3DRemove lima.remove.shortcut=3D lima.reports=3DReports Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014= -09-19 14:50:34 UTC (rev 3920) +++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2014= -09-19 15:21:43 UTC (rev 3921) @@ -525,6 +525,7 @@ lima.preferences=3DPr=C3=A9f=C3=A9rences lima.quit=3DQuitter lima.refresh=3DActualiser +lima.refresh.shortcut=3DActualiser (F5) lima.remove=3DSupprimer lima.remove.shortcut=3D"Supprimer (Suppr) lima.reports=3DRapports --===============0896587324196029632==--