/[thuban]/trunk/thuban/Thuban/UI/classifier.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/UI/classifier.py

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

revision 2361 by jan, Fri May 7 20:20:43 2004 UTC revision 2362 by joey, Fri Oct 1 18:00:42 2004 UTC
# Line 685  class Classifier(NonModalNonParentDialog Line 685  class Classifier(NonModalNonParentDialog
685                     FIELDTYPE_INT:    _("Integer"),                     FIELDTYPE_INT:    _("Integer"),
686                     FIELDTYPE_DOUBLE: _("Decimal")}                     FIELDTYPE_DOUBLE: _("Decimal")}
687    
688      def __init__(self, parent, name, map, layer, group = None):      def __init__(self, parent, name, layer, group = None):
689          """Create a Properties/Classification dialog for a layer.          """Create a Properties/Classification dialog for a layer.
690          The layer is part of map. If group is not None, select that          The layer is part of map. If group is not None, select that
691          group in the classification table.          group in the classification table.
# Line 697  class Classifier(NonModalNonParentDialog Line 697  class Classifier(NonModalNonParentDialog
697    
698          self.parent.Subscribe(MAP_REPLACED, self.map_replaced)          self.parent.Subscribe(MAP_REPLACED, self.map_replaced)
699          self.layer = layer          self.layer = layer
700          self.map = map          self.map = parent.Map()
701    
702          self.map.Subscribe(MAP_LAYERS_REMOVED, self.map_layers_removed)          self.map.Subscribe(MAP_LAYERS_REMOVED, self.map_layers_removed)
703          self.layer.Subscribe(LAYER_SHAPESTORE_REPLACED,          self.layer.Subscribe(LAYER_SHAPESTORE_REPLACED,

Legend:
Removed from v.2361  
changed lines
  Added in v.2362

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26