self.JDCName = self.JDC.nom
#print "selectJDC",numero_jdc,self.JDCDisplay_courant,self.JDCName
- def newJDC(self,event=None):
+ def newJDC_include(self,event=None):
"""
Initialise un nouveau JDC vierge
"""
+ import Extensions.jdc_include
+ JdC_aux=Extensions.jdc_include.JdC_include
+
+ self.appli.statusbar.reset_affichage_infos()
+
+ CONTEXT.unset_current_step()
+ J=JdC_aux(procedure="",appli=self.appli,
+ cata=self.cata,cata_ord_dico=self.cata_ordonne_dico,
+ rep_mat=self.appli.CONFIGURATION.rep_mat,
+ )
+ J.analyse()
+ self.JDCName=J.nom
+ self.fileName=None
+ self.ShowJDC(J,self.JDCName)
+ self.appli.toolbar.active_boutons()
+
+ def newJDC(self,event=None):
+ """
+ Initialise un nouveau JDC include vierge
+ """
self.appli.statusbar.reset_affichage_infos()
CONTEXT.unset_current_step()
self.JDCDisplay_courant.fichier = sauvegarde
self.JDCName = self.JDC.nom = stripPath(sauvegarde)
self.changeNomPage()
+ CONNECTOR.Emit(self.JDC,"valid")
return 1
else :
return 0
def GetText(self):
return " "
+ def GetLabelText(self):
+ # None --> fonte et couleur par défaut
+ return self.object.nom,None,None
+
def get_jdc(self):
"""
Retourne l'objet pointé par self
#
__version__="$Name: $"
-__Id__="$Id: treewidget.py,v 1.22 2005/06/01 15:18:16 eficas Exp $"
+__Id__="$Id: treewidget.py,v 1.23 2005/06/06 09:33:06 eficas Exp $"
#
Fonte_Standard = fontes.standard
self.racine.trace_ligne()
self.racine.update_icone()
self.racine.update_texte()
+ self.racine.update_label_texte()
self.tree.resizescrollregion()
def efface_node(self):