From ff072d3ced26f60b02d06b9eb1e52706c7928121 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Thu, 21 Oct 2021 16:00:12 +0200 Subject: [PATCH] =?utf8?q?retour=20arri=C3=A8re=20pour=20garder=20getDicoO?= =?utf8?q?bjetsCompletsPourTree?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Ihm/I_JDC.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Ihm/I_JDC.py b/Ihm/I_JDC.py index 5ccf77eb..24a46945 100644 --- a/Ihm/I_JDC.py +++ b/Ihm/I_JDC.py @@ -984,6 +984,16 @@ class JDC(I_OBJECT.OBJECT): monDico['children']=listNodes return monDico + def getDicoObjetsCompletsPourTree(self): + monDico={} + monDico['text']=self.code + # self.editor.fichier ? + listNodes=[] + for e in self.etapes : + listNodes.append(e.getDicoObjetsCompletsPourTree()) + monDico['nodes']=listNodes + return monDico + #ATTENTION SURCHARGE : les methodes ci-dessus surchargent des methodes de Noyau et Validation : a reintegrer -- 2.39.2