From: André Ribes Date: Mon, 27 Feb 2012 16:14:51 +0000 (+0100) Subject: Ajout de l'option pour le noeud YACS X-Git-Tag: V6_5_0~25^2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=adac0d1f2dbea5f2f3e7ede07c411032340a9982;p=modules%2Fadao.git Ajout de l'option pour le noeud YACS --- diff --git a/bin/AdaoCatalogGenerator.py b/bin/AdaoCatalogGenerator.py index d02d726..3d85170 100644 --- a/bin/AdaoCatalogGenerator.py +++ b/bin/AdaoCatalogGenerator.py @@ -93,7 +93,14 @@ assim_data_choice = """ observers_choice = """ ${var_name} = BLOC (condition=" '${var_name}' in set(SELECTION) ", - Scheduler = SIMP(statut = "f", typ = "TXM") + Scheduler = SIMP(statut = "f", typ = "TXM"), + NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "", into=("pyscript", "userfile")), + PythonScript = BLOC (condition = " NodeType == 'pyscript' ", + Value = SIMP(statut = "o", typ = "TXM") + ), + UserFile = BLOC (condition = " NodeType == 'userfile' ", + Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=(OnlyStr())) + ) ), """