/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py

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

revision 877 by jonathan, Fri May 9 16:32:17 2003 UTC revision 898 by jonathan, Mon May 12 12:19:58 2003 UTC
# Line 818  class GenQuantilesPanel(wxPanel): Line 818  class GenQuantilesPanel(wxPanel):
818    
819      def GetList(self):      def GetList(self):
820    
821            _list = []
822    
823          if self.layer.table is not None:          if self.layer.table is not None:
824              wxBeginBusyCursor()              wxBeginBusyCursor()
825              _list = self.layer.table.UniqueValues(self.fieldName)  
826                #
827                # FIXME: Replace with a call to table when the method
828                # has been written to get all the values
829                #
830                table = self.layer.table
831                for i in range(table.NumRows()):
832                    _list.append(table.ReadValue(i, self.fieldName))
833    
834              wxEndBusyCursor()              wxEndBusyCursor()
             return _list  
835    
836          return []          return _list
837    
838      def OnRangeText(self, event):      def OnRangeText(self, event):
839    

Legend:
Removed from v.877  
changed lines
  Added in v.898

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26