X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2Feditor.py;h=ed534c90ba357b6457e7fbfaff9e8e7ad7cdb3be;hb=9bf98fc1cb51814c31679120598dc309e0802e31;hp=0a9efa1ad8b9c6744c3a1a91591d796d795c02ad;hpb=3b2aa4435996023b38c1c749799a956909684b7c;p=tools%2Feficas.git diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index 0a9efa1a..ed534c90 100755 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -1369,17 +1369,27 @@ class JDCEditor(Ui_baseWidget,QWidget): jdcText = '' return ulfile, jdcText - #-------------------------------# + #-----------------------------------# def updateJdc(self, itemApres,texte): - #--------------------------------# - # ajoute un morceau de JdC a partir d un tecte + #------------------------------------# + # ajoute une etape de JdC a partir d un texte monItem=itemApres etape=monItem.item.object - CONTEXT.set_current_step(etape) etape.build_includeInclude(texte) self.tree.racine.build_children() + #-----------------------------------# + def updateJdcEtape(self, itemApres,texte): + #------------------------------------# + # ajoute une etape de JdC a partir d un texte + monItem=itemApres + etape=monItem.item.object + CONTEXT.set_current_step(etape) + etape.build_includeEtape(texte) + self.tree.racine.build_children() + + #-------------------------------------# def deleteEtape(self,etape): #-------------------------------------#