From scm@users.codelutin.com Sat Aug 30 12:44:31 2014
From: "codelutin.com scm" <scm@users.codelutin.com>
To: tutti-commits@list.forge.codelutin.com
Subject: [Tutti-commits] [tutti] branch develop updated (0bb341d -> d58e188)
Date: Sat, 30 Aug 2014 12:44:31 +0200
Message-ID: <20140830104431.20780.18773@nuiton.codelutin.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6003046638612447301=="

--===============6003046638612447301==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

This is an automated email from the git hooks/post-receive script.

New change to branch develop in repository tutti.

See http://git.codelutin.com/tutti.git

      from  0bb341d   fixes #5695: [IMPORT] psion blocage fenettre suite mess=
age erreur
       new  d58e188   fixes #5705: [TRAIT] je suis sur un =C3=A9cran mensurat=
ion avec des donn=C3=A9es, je clique sur cr=C3=A9er un nouveau trait, quand j=
e valide je reviens sur l'=C3=A9cran des mensuration du trait pr=C3=A9c=C3=A9=
dent, hors je devrait =C3=AAtre sur Esp=C3=A8ces

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit d58e188cf9a3031f9b010b0633a511d6fccf2462
Author: Tony CHEMIT <chemit@codelutin.com>
Date:   Sat Aug 30 12:44:26 2014 +0200

    fixes #5705: [TRAIT] je suis sur un =C3=A9cran mensuration avec des donn=
=C3=A9es, je clique sur cr=C3=A9er un nouveau trait, quand je valide je revie=
ns sur l'=C3=A9cran des mensuration du trait pr=C3=A9c=C3=A9dent, hors je dev=
rait =C3=AAtre sur Esp=C3=A8ces

Summary of changes:
 .../swing/action/EditFishingOperationAction.java   | 22 +++++++-------------=
--
 1 file changed, 7 insertions(+), 15 deletions(-)

--=20
To stop receiving notification emails like this one, please contact
codelutin.com SCM administrator <admin+scm@codelutin.com>.

--===============6003046638612447301==--


From scm@users.codelutin.com Sat Aug 30 12:44:31 2014
From: "codelutin.com scm" <scm@users.codelutin.com>
To: tutti-commits@list.forge.codelutin.com
Subject: [Tutti-commits]  [tutti] 01/01: fixes #5705: [TRAIT] je suis sur un 
 =?utf-8?q?=C3=A9cran?= mensuration avec des =?utf-8?q?donn=C3=A9es=2C?= je
 clique sur =?utf-8?q?cr=C3=A9er?= un nouveau trait, quand je valide je
 reviens sur =?utf-8?q?l=27=C3=A9cran_des_mensuration_du_trait_pr=C3=A9c?=
 =?utf-8?q?=C3=A9dent=2C_hors_je_devrait_=C3=AAtre_sur_Esp=C3=A8ces?=
Date: Sat, 30 Aug 2014 12:44:32 +0200
Message-ID: <20140830104431.8DA57180211@goh.codelutin.com>
In-Reply-To: <20140830104431.20780.18773@nuiton.codelutin.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4090882651683712321=="

--===============4090882651683712321==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

This is an automated email from the git hooks/post-receive script.

New commit to branch develop in repository tutti.

See http://git.codelutin.com/tutti.git

commit d58e188cf9a3031f9b010b0633a511d6fccf2462
Author: Tony CHEMIT <chemit@codelutin.com>
Date:   Sat Aug 30 12:44:26 2014 +0200

    fixes #5705: [TRAIT] je suis sur un =C3=A9cran mensuration avec des donn=
=C3=A9es, je clique sur cr=C3=A9er un nouveau trait, quand je valide je revie=
ns sur l'=C3=A9cran des mensuration du trait pr=C3=A9c=C3=A9dent, hors je dev=
rait =C3=AAtre sur Esp=C3=A8ces
---
 .../swing/action/EditFishingOperationAction.java   | 22 +++++++-------------=
--
 1 file changed, 7 insertions(+), 15 deletions(-)

diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/action/Ed=
itFishingOperationAction.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti=
/ui/swing/action/EditFishingOperationAction.java
index 8cf66c6..c4614b3 100644
--- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/action/EditFishi=
ngOperationAction.java
+++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/action/EditFishi=
ngOperationAction.java
@@ -48,6 +48,7 @@ import fr.ifremer.tutti.ui.swing.content.operation.FishingO=
perationsUIHandler;
 import fr.ifremer.tutti.ui.swing.content.operation.FishingOperationsUIModel;
 import fr.ifremer.tutti.ui.swing.content.operation.SecondaryVesselTypeEnum;
 import fr.ifremer.tutti.ui.swing.content.operation.catches.EditCatchesUI;
+import fr.ifremer.tutti.ui.swing.content.operation.catches.EditCatchesUIHand=
ler;
 import fr.ifremer.tutti.ui.swing.content.operation.catches.EditCatchesUIMode=
l;
 import fr.ifremer.tutti.ui.swing.content.operation.fishing.GearUseFeatureTab=
UI;
 import fr.ifremer.tutti.ui.swing.content.operation.fishing.VesselUseFeatureT=
abUI;
@@ -410,6 +411,11 @@ public class EditFishingOperationAction extends Abstract=
TuttiAction<FishingOpera
     @Override
     public void postSuccessAction() {
         super.postSuccessAction();
+
+        // always go back to main content (see https://forge.codelutin.com/i=
ssues/5705)
+        getUI().getCatchesTabContent().getSpeciesTabPanelLayout().setSelecte=
d(EditCatchesUIHandler.MAIN_CARD);
+        getUI().getCatchesTabContent().getBenthosTabPanelLayout().setSelecte=
d(EditCatchesUIHandler.MAIN_CARD);
+
         final EditFishingOperationUI fishingOperationTabContent =3D getUI().=
getFishingOperationTabContent();
         fishingOperationTabContent.getModel().setModify(false);
=20
@@ -424,23 +430,9 @@ public class EditFishingOperationAction extends Abstract=
TuttiAction<FishingOpera
                     }
                 }
         );
-//        SwingUtilities.invokeLater(
-//                new Runnable() {
-//                    @Override
-//                    public void run() {
-//                        if (log.isInfoEnabled()) {
-//                            log.info("startLongitude: " + fishingOperation=
TabContent.getGearShootingStartLongitudeDMSField().getEditor().getText());
-//                        }
-//                        fishingOperationTabContent.getGearShootingStartLon=
gitudeDMSField().getEditor().repaint();
-//                        fishingOperationTabContent.getGearShootingEndLongi=
tudeDMSField().getEditor().repaint();
-//                    }
-//                }
-//        );
+
         getUI().repaint();
=20
-//        if (!internalAction) {
-//            displayValidationErrors();
-//        }
     }
=20
     public void displayValidationErrors() {

--=20
To stop receiving notification emails like this one, please contact
codelutin.com SCM administrator <admin+scm@codelutin.com>.

--===============4090882651683712321==--


