Esempio n. 1
0
 def writeConstructor(self, output, collectionMethod, stripFrmId=""):
     ContainerDTC.writeConstructor(self, output, collectionMethod, stripFrmId="")
     if self.textConstr:
         # Add call to init utils after frame constructor
         if self.textConstr.comp_name == "" and collectionMethod == sourceconst.init_ctrls:
             if self.designer.dataView.objects:
                 output.append("%sself.%s()" % (sourceconst.bodyIndent, sourceconst.init_utils))
 def writeConstructor(self, output, collectionMethod, stripFrmId=''):
     ContainerDTC.writeConstructor(self, output, collectionMethod, stripFrmId='')
     if self.textConstr:
         # Add call to init utils after frame constructor
         if self.textConstr.comp_name == '' and \
           collectionMethod == sourceconst.init_ctrls:
             if self.designer.dataView.objects:
                 output.append('%sself.%s()'%(sourceconst.bodyIndent,
                                              sourceconst.init_utils))