- #def doPasteMCF(self,objet_a_copier):
- # child=None
- # le noeud courant est une MCList
- # if self.item.isMCList() :
- # child = self.append_child(objet_a_copier,pos='first',retour='oui')
+ def doPaste(self,node_selected,pos):
+ objet_a_copier = self.item.get_copie_objet()
+ # before est un effet de bord heureux sur l index
+ child=self.append_brother(objet_a_copier,'before')
+ if self.editor.fenetreCentraleAffichee : self.editor.fenetreCentraleAffichee.node.affichePanneau()
+ self.update_node_label_in_black()
+ return child