joey: thuban/Thuban/UI classifier.py,1.65,1.66
cvs@intevation.de
cvs at intevation.de
Fri Oct 1 20:00:44 CEST 2004
Author: joey
Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv27939/Thuban/UI
Modified Files:
classifier.py
Log Message:
Unify arguments for general use through properties-dialog selector,
the map can be retrieved through the parent and doesn't require an
argument of its own.
Index: classifier.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/classifier.py,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- classifier.py 7 May 2004 20:20:43 -0000 1.65
+++ classifier.py 1 Oct 2004 18:00:42 -0000 1.66
@@ -685,7 +685,7 @@
FIELDTYPE_INT: _("Integer"),
FIELDTYPE_DOUBLE: _("Decimal")}
- def __init__(self, parent, name, map, layer, group = None):
+ def __init__(self, parent, name, layer, group = None):
"""Create a Properties/Classification dialog for a layer.
The layer is part of map. If group is not None, select that
group in the classification table.
@@ -697,7 +697,7 @@
self.parent.Subscribe(MAP_REPLACED, self.map_replaced)
self.layer = layer
- self.map = map
+ self.map = parent.Map()
self.map.Subscribe(MAP_LAYERS_REMOVED, self.map_layers_removed)
self.layer.Subscribe(LAYER_SHAPESTORE_REPLACED,
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)