1 |
2003-07-18 Bernhard Herzog <[email protected]> |
2003-07-18 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/layer.py (Layer.__init__): Rename |
4 |
|
classificationField to classificatin_column and init it here so |
5 |
|
that it can be used in SetClassificationColumn |
6 |
|
(Layer.GetClassificationColumn, Layer.GetClassificationField): |
7 |
|
Rename to GetClassificationColumn. |
8 |
|
(Layer.SetClassificationColumn, Layer.SetClassificationField): |
9 |
|
Rename to SetClassificationColumn and issue a LAYER_CHANGED |
10 |
|
message if the column changes. |
11 |
|
(Layer._classification_changed, Layer.ClassChanged): Rename to |
12 |
|
_classification_changed. Update the callers. |
13 |
|
(Layer.SetShapeStore): Further field->column renames. |
14 |
|
|
15 |
|
* Thuban/Model/load.py (SessionLoader.start_classification) |
16 |
|
(SessionLoader.start_clpoint): Updates because of |
17 |
|
field->column method name changes in the Layer class |
18 |
|
|
19 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Updates |
20 |
|
because of field->column method name changes in the Layer class |
21 |
|
|
22 |
|
* Thuban/UI/classifier.py (Classifier.__init__) |
23 |
|
(Classifier._OnTry, Classifier._OnRevert): Updates because of |
24 |
|
field->column method name changes in the Layer class |
25 |
|
|
26 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates |
27 |
|
because of field->column method name changes in the Layer class |
28 |
|
|
29 |
|
* Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because |
30 |
|
of field->column method name changes in the Layer class |
31 |
|
|
32 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer) |
33 |
|
(SaveSessionTest.testClassifiedLayer): Update because of |
34 |
|
field->column method name changes in the Layer class |
35 |
|
|
36 |
|
* test/test_layer.py (SetShapeStoreTests.setUp) |
37 |
|
(SetShapeStoreTests.test_sanity): Update because of field->column |
38 |
|
method name changes in the Layer class |
39 |
|
(TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well |
40 |
|
(TestLayerModification.test_sanity) |
41 |
|
(TestLayerModification.test_initial_settings): remove unsued code |
42 |
|
and rename to test_sanity. |
43 |
|
(TestLayerModification.test_set_classification): New test for |
44 |
|
SetClassification and SetClassificationField. |
45 |
|
|
46 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
47 |
|
|
48 |
* test/test_classgen.py (TestFixedRamp.test): Extend test to check |
* test/test_classgen.py (TestFixedRamp.test): Extend test to check |
49 |
the non-fixed values as well. The old test would have accepted a |
the non-fixed values as well. The old test would have accepted a |
50 |
fixed ramp that only returnes the fixed properties |
fixed ramp that only returnes the fixed properties |