From: Christian Caremoli <> Date: Mon, 19 Nov 2007 15:51:10 +0000 (+0000) Subject: CCAR: activation/desactivation des parametres X-Git-Tag: V1_13b2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e881e6978485985977e220e6d30ca5b599101e3;p=tools%2Feficas.git CCAR: activation/desactivation des parametres --- diff --git a/Extensions/parametre.py b/Extensions/parametre.py index 54025443..58ceefa2 100644 --- a/Extensions/parametre.py +++ b/Extensions/parametre.py @@ -36,6 +36,7 @@ from Noyau.N_CR import CR from Noyau import N_OBJECT from Ihm import I_OBJECT from param2 import * +from Ihm import CONNECTOR class PARAMETRE(N_OBJECT.OBJECT,I_OBJECT.OBJECT,Formula) : """ @@ -214,6 +215,8 @@ class PARAMETRE(N_OBJECT.OBJECT,I_OBJECT.OBJECT,Formula) : self.jdc.append_param(self) except: pass + CONNECTOR.Emit(self,"add",None) + CONNECTOR.Emit(self,"valid") def inactive(self): """ @@ -223,6 +226,8 @@ class PARAMETRE(N_OBJECT.OBJECT,I_OBJECT.OBJECT,Formula) : self.actif = 0 self.jdc.del_param(self) self.jdc.delete_concept_after_etape(self,self) + CONNECTOR.Emit(self,"supp",None) + CONNECTOR.Emit(self,"valid") def isactif(self): """