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 38e31dd Merge branch 'feature/7590-verfiEcranDesEquipementsDUneMarée' into 'develop' new 8bd6337 Ouverture de la marée après sa création (See #7588) 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 8bd6337d5795e5786260a39898b6bb110b6cebc1 Author: Tony CHEMIT <chemit@codelutin.com> Date: Fri Mar 4 12:09:52 2016 +0100 Ouverture de la marée après sa création (See #7588) Summary of changes: .../ui/content/open/impl/longline/TripLonglineUIHandler.java | 6 ++++++ 1 file changed, 6 insertions(+) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
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 8bd6337d5795e5786260a39898b6bb110b6cebc1 Author: Tony CHEMIT <chemit@codelutin.com> Date: Fri Mar 4 12:09:52 2016 +0100 Ouverture de la marée après sa création (See #7588) --- .../ui/content/open/impl/longline/TripLonglineUIHandler.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/observe-application-swing/src/main/java/fr/ird/observe/ui/content/open/impl/longline/TripLonglineUIHandler.java b/observe-application-swing/src/main/java/fr/ird/observe/ui/content/open/impl/longline/TripLonglineUIHandler.java index 5056406..d8fcd41 100644 --- a/observe-application-swing/src/main/java/fr/ird/observe/ui/content/open/impl/longline/TripLonglineUIHandler.java +++ b/observe-application-swing/src/main/java/fr/ird/observe/ui/content/open/impl/longline/TripLonglineUIHandler.java @@ -270,6 +270,8 @@ public class TripLonglineUIHandler extends ContentOpenableUIHandler<TripLongline @Override protected boolean doSave(TripLonglineDto bean) throws Exception { + boolean notPersisted = bean.isNotPersisted(); + // on force toujours la date a etre sans heure, minute,... Date startDate = DateUtil.getDay(bean.getStartDate()); if (log.isDebugEnabled()) { @@ -288,6 +290,10 @@ public class TripLonglineUIHandler extends ContentOpenableUIHandler<TripLongline // recuperation de la position de la maree dans le program obtainChildPosition(bean); + // ouverture de la marée + if (notPersisted) { + getOpenDataManager().openTripLongline(getSelectedParentId(), bean.getId()); + } return true; } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm