1 |
|
2003-02-10 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
4 |
|
Added element_open variable to track opening and closing of tags |
5 |
|
so that tags that don't span more than one line are closed with |
6 |
|
/> instead of </tag_name>. Use the GetDefault*() methods of |
7 |
|
the Classification class. |
8 |
|
|
9 |
|
* Thuban/Model/classification.py (Classificaton): Added set and |
10 |
|
get methods for the default data. The class also takes a layer |
11 |
|
reference so that modification messages can be sent. Fixed the |
12 |
|
methods to use the new ClassData class. |
13 |
|
(ClassData): New class to encapsulate the classification data |
14 |
|
|
15 |
|
* Thuban/Model/layer.py (Layer): Remove the |
16 |
|
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
17 |
|
SetDefault*() methods on the layer's classification object. |
18 |
|
(Layer.__init__): Use the new SetDefault*() methods in the |
19 |
|
Classification class. |
20 |
|
|
21 |
|
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
22 |
|
object instead of a dictionary. |
23 |
|
|
24 |
|
* Thuban/UI/classifier.py (ClassRenderer): New class to |
25 |
|
draw the classifications in the dialog box's table. |
26 |
|
(Classifier): Modified to use the ClassRenderer class. |
27 |
|
|
28 |
|
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
29 |
|
methods of the Classification class. |
30 |
|
|
31 |
|
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
32 |
|
of the ClassData class. |
33 |
|
|
34 |
|
* test/test_classification.py, test/test_layer.py, |
35 |
|
test/test_map.py, test/test_session.py: Fix the tests to work |
36 |
|
with the above code changes. |
37 |
|
|
38 |
|
2003-02-03 Jonathan Coles <[email protected]> |
39 |
|
|
40 |
|
* Thuban/Model/classification.py (Classification): Added getNull() |
41 |
|
to return the NullData reference |
42 |
|
|
43 |
|
* Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke, |
44 |
|
Layer.SetStrokeWidth): Modified these functions to change the |
45 |
|
null data in the classification rather than keep these values |
46 |
|
directly in the Layer class. Menu options to change these values |
47 |
|
work again. |
48 |
|
|
49 |
|
2003-01-28 Jonathan Coles <[email protected]> |
50 |
|
|
51 |
|
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
52 |
|
Fixed crashing problem on some systems. Dialog box shows |
53 |
|
classification data. |
54 |
|
|
55 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
56 |
|
Colors in the tree view. |
57 |
|
|
58 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build |
59 |
|
the tree info for classifications. Commented out unnecessary lines. |
60 |
|
|
61 |
|
* Thuban/Model/classification.py (Classification.TreeInfo): New |
62 |
|
function to add information about the classification into the |
63 |
|
tree view. |
64 |
|
|
65 |
|
2003-01-27 Jan-Oliver Wagner <[email protected]> |
66 |
|
|
67 |
|
* Thuban/__init__.py (_): New. |
68 |
|
|
69 |
|
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
70 |
|
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
71 |
|
Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py, |
72 |
|
Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py, |
73 |
|
Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py, |
74 |
|
Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py, |
75 |
|
Thuban/Lib/connector.py, Thuban/Lib/fileutil.py: |
76 |
|
Replace user string by _() for i18n. |
77 |
|
|
78 |
2003-01-27 Jonathan Coles <[email protected]> |
2003-01-27 Jonathan Coles <[email protected]> |
79 |
|
|
80 |
* Thuban/Model/layer.py: Classification initialization calls. |
* Thuban/Model/layer.py: Classification initialization calls. |