1 |
2003-07-01 Jonathan Coles <[email protected]> |
2003-07-01 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
Changed the singature of ClassGroupRange.__init__ and |
4 |
|
ClassGroupRange.SetRange() so that the min/max values are |
5 |
|
passed as a tuple. This makes a better calling scheme for |
6 |
|
when a Range object is passed instead. |
7 |
|
|
8 |
|
* Thuban/Model/classgen.py: Fixed parameters to |
9 |
|
ClassGroupRange constructor. |
10 |
|
|
11 |
|
* Thuban/Model/classification.py (ClassGroupRange.__init__): |
12 |
|
Consolidate the min/max parameters into a single _range which |
13 |
|
can either be a tuple or a Range object. |
14 |
|
(ClassGroupRange.SetRange): Consolidate the min/max parameters |
15 |
|
into a single _range which can either be a tuple or a Range object. |
16 |
|
|
17 |
|
* Thuban/Model/load.py (SessionLoader.start_clrange): Fix |
18 |
|
call to ClassGroupRange constructor to use a tuple. |
19 |
|
|
20 |
|
* Thuban/Model/layer.py (Layer.SetClassification): Switch |
21 |
|
the classification instance variable to the new class |
22 |
|
before calling _set_layer otherwise subscribers to a |
23 |
|
LAYER_CHANGED event will not see any difference. |
24 |
|
|
25 |
|
* test/test_classification.py: Fix tests of ClassGroupRange |
26 |
|
so that they use the new signature. |
27 |
|
|
28 |
|
* test/test_load.py: Fix use of ClassGroupRange so that it |
29 |
|
uses the new signature. |
30 |
|
|
31 |
|
* test/test_load_0_2.py: Fix use of ClassGroupRange so that it |
32 |
|
uses the new signature. |
33 |
|
|
34 |
|
* test/test_save.py: Fix use of ClassGroupRange so that it |
35 |
|
uses the new signature. |
36 |
|
|
37 |
|
|
38 |
|
2003-07-01 Jonathan Coles <[email protected]> |
39 |
|
|
40 |
* Thuban/Model/classgen.py: Fixes RTbug #1972, 1971. |
* Thuban/Model/classgen.py: Fixes RTbug #1972, 1971. |
41 |
Import used objects/class from color. |
Import used objects/class from color. |
42 |
(generate_singletons): We don't |
(generate_singletons): We don't |