This is an automated email from the git hooks/post-receive script. New commit to branch feature/7613-LL-VerifEcranOperationPêche in repository tutti. See http://git.codelutin.com/tutti.git commit 523d69102388dd7559ffee6ca5d476c9f6d1d2de Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Mar 10 09:10:26 2016 +0100 A la creation de l'opération, ajout du noeud dans l'arbre de navigation (see #7613). --- .../ird/observe/ui/content/impl/longline/SetLonglineUIHandler.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/observe-application-swing/src/main/java/fr/ird/observe/ui/content/impl/longline/SetLonglineUIHandler.java b/observe-application-swing/src/main/java/fr/ird/observe/ui/content/impl/longline/SetLonglineUIHandler.java index da5e0d1..e736167 100644 --- a/observe-application-swing/src/main/java/fr/ird/observe/ui/content/impl/longline/SetLonglineUIHandler.java +++ b/observe-application-swing/src/main/java/fr/ird/observe/ui/content/impl/longline/SetLonglineUIHandler.java @@ -366,10 +366,8 @@ public class SetLonglineUIHandler extends ContentUIHandler<SetLonglineDto> { // remove old node and recreate new node ObserveNode parentNode = treeHelper.removeNode(node); - //FIXME DataReference -// DataReference<SetLonglineDto> refBean = ReferenceDtos.newReferenceDto(bean, ImmutableSet.<String>of()); - DataReference<SetLonglineDto> refBean = null; - node = treeHelper.addSetLongline(parentNode, refBean); + DataReference<SetLonglineDto> beanRef = ObserveSwingApplicationContext.get().getReferenceBinderEngine().transformDataDtoToReference(getDecoratorService().getReferentialLocale(), bean); + node = treeHelper.addSetLongline(parentNode, beanRef); stopEditUI(); treeHelper.selectNode(node); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.