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

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

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

revision 1194 by bh, Fri Jun 13 13:02:30 2003 UTC revision 1219 by bh, Mon Jun 16 17:42:54 2003 UTC
# Line 21  class IdentifyListCtrl(RecordListCtrl): Line 21  class IdentifyListCtrl(RecordListCtrl):
21    
22      def selected_shape(self, layer, shape):      def selected_shape(self, layer, shape):
23          if layer is not None:          if layer is not None:
24              table = layer.table              table = layer.ShapeStore().Table()
25          else:          else:
26              table = None              table = None
27          self.fill_list(table, shape)          self.fill_list(table, shape)
# Line 30  class IdentifyGridCtrl(RecordGridCtrl): Line 30  class IdentifyGridCtrl(RecordGridCtrl):
30    
31      def selected_shape(self, layer, shape):      def selected_shape(self, layer, shape):
32          if layer is not None:          if layer is not None:
33              table = layer.table              table = layer.ShapeStore().Table()
34          else:          else:
35              table = None              table = None
36          self.SetTableRecord(table, shape)          self.SetTableRecord(table, shape)

Legend:
Removed from v.1194  
changed lines
  Added in v.1219

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26