[Bio] / PyGUI / Catalogpanel.py Repository:
ViewVC logotype

Diff of /PyGUI/Catalogpanel.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16, Wed Nov 12 22:56:33 2003 UTC revision 1.17, Thu Nov 13 01:41:16 2003 UTC
# Line 156  Line 156 
156              wxEndBusyCursor()              wxEndBusyCursor()
157              return              return
158    
159            itemName="Spontaneous Reactions"
160            spontaneousRxItemId=self.parent.catalog_tree.AppendItem(newSeedItemId, itemName)
161            self.parent.catalog_tree.SetPyData(spontaneousRxItemId,
162                                               (self.seedRecoElemLoader,
163                                               (seedFactory.getRecoElemSpontaneousRx, None) ))
164    
165    
166          orgItemId=self.parent.catalog_tree.AppendItem(newSeedItemId, "Organisms" )          orgItemId=self.parent.catalog_tree.AppendItem(newSeedItemId, "Organisms" )
167          for org in orgList:          for org in orgList:
168              id=self.parent.catalog_tree.AppendItem(orgItemId, org.figOrgName )              id=self.parent.catalog_tree.AppendItem(orgItemId, org.figOrgName )
169              self.parent.catalog_tree.SetPyData(id, (self.seedOrgLoader,              self.parent.catalog_tree.SetPyData(id, (self.seedRecoElemLoader,
170                                                     (seedFactory.getRecoElemByOrg, org) ))                                                     (seedFactory.getRecoElemByOrg, org) ))
171    
172    
# Line 267  Line 274 
274          return          return
275    
276      #------------------------------------------------------------------------      #------------------------------------------------------------------------
277      def seedOrgLoader(self,  argList ):      def seedRecoElemLoader(self,  argList ):
278      #------------------------------------------------------------------------      #------------------------------------------------------------------------
279          wxBeginBusyCursor()          wxBeginBusyCursor()
280    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3