def __init__( self, aModelEditor, aRoot = 'top_frame' ): """ in: ModelEditor theModelEditor returns nothing """ ListWindow.__init__( self, aModelEditor, aRoot ) self.initUI()
def __init__( self, aModelEditor ): """ in: ModelEditor aModelEditor returns nothing """ ListWindow.__init__( self, aModelEditor ) self.noOfStepper = 0 self.noOfEntity = 0 self.noOfClass = 0 self.lockTabs = False self.lockEntry = False #self.noOfPathway = 0 self.theModelEditor = aModelEditor self.theRuntimeObject = self.theModelEditor.theRuntimeObject self.initUI()