示例#1
0
    def destroy(self):

        self.setOptionValues()

        if self.file_select_popup:
            self.file_select_popup.destroy()

        Frame.destroy(self)
    def destroy(self):

        notify = self.application.unregisterNotify
        for func in ('__init__', 'delete'):
            notify(self.updateAfter, 'ccp.nmr.Nmr.PeakList', func)
            notify(self.updateConstraintSets,
                   'ccp.nmr.NmrConstraint.NmrConstraintStore', func)
            notify(self.updateMolSystems, 'ccp.molecule.MolSystem.MolSystem',
                   func)
            notify(self.updateMolSystems, 'ccp.molecule.MolSystem.Chain', func)

        for func in ('__init__', 'delete', 'setName'):
            notify(self.updateAfter, 'ccp.nmr.Nmr.Experiment', func)
            notify(self.updateAfter, 'ccp.nmr.Nmr.DataSource', func)

        Frame.destroy(self)
示例#3
0
    def destroy(self):

        self.administerNotifiers(self.basePopup.unregisterNotify)
        Frame.destroy(self)
示例#4
0
 def destroy(self):
 
   Frame.destroy(self)  
示例#5
0
    def destroy(self):

        print 'in main destroy method'
        Frame.destroy(self)
示例#6
0
    def destroy(self):

        self.notify(self.dangleGui.unregisterNotify)
        Frame.destroy(self)
示例#7
0
    def destroy(self):

        self.administerNotifiers(self.parent.unregisterNotify)
        Frame.destroy(self)