1 |
|
2003-03-10 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classification.py (Classification): Don't use |
4 |
|
layer's message function directly, use the ClassChanged() method |
5 |
|
when then classification changes. SetField/SetFieldType/SetLayer |
6 |
|
must keep the information about field name and field type in |
7 |
|
sync when an owning layer is set or removed. |
8 |
|
|
9 |
|
* Thuban/Model/layer.py: Added ClassChanged() so that the |
10 |
|
classification can tell the layer when its data has changed. |
11 |
|
(Layer.SetClassification): Accepts None as an arguement to |
12 |
|
remove the current classification and correctly handles |
13 |
|
adding a new classification. |
14 |
|
|
15 |
|
* Thuban/Model/load.py: Comment out print statement |
16 |
|
|
17 |
|
* test/test_classification.py, test/test_save.py: New and |
18 |
|
improved tests. |
19 |
|
|
20 |
2003-03-07 Jonathan Coles <[email protected]> |
2003-03-07 Jonathan Coles <[email protected]> |
21 |
|
|
22 |
* Thuban/Model/classification.py: Implemented __copy__ and |
* Thuban/Model/classification.py: Implemented __copy__ and |