[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.18, Thu Nov 13 19:21:46 2003 UTC
# Line 84  Line 84 
84          self.loadWitCatalog( witItemId )          self.loadWitCatalog( witItemId )
85    
86          localSeedServer        = "http://localhost/FIG/"          localSeedServer        = "http://localhost/FIG/"
87          localSeedServer        = "http://float179.mcs.anl-external.org/FIG/"  #        localSeedServer        = "http://float179.mcs.anl-external.org/FIG/"
88          self.loadSeedCatalog( localSeedServer)          self.loadSeedCatalog( localSeedServer)
89    
90          self.parent.catalog_tree.Expand( self.parent.catalogRootId)          self.parent.catalog_tree.Expand( self.parent.catalogRootId)
# 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.18

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3