1 |
|
2003-03-07 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/classification.py: Implemented __copy__ and |
4 |
|
__deepcopy__ for ClassGroup* and ClassGroupProperites so |
5 |
|
they can easily be copied by the classifier dialog. |
6 |
|
(ClassGroupProperites.__init__): The default line color should |
7 |
|
have been Color.Black. |
8 |
|
|
9 |
|
* Thuban/UI/classifier.py: Setting and Getting table values now |
10 |
|
uses a consistent set of functions. |
11 |
|
(Classifier): Now non-modal. Has field type label which changes |
12 |
|
as the field changes. Keep track of buttons in a list so that |
13 |
|
we can enable/disable the buttons when the None field is selected. |
14 |
|
(SelectPropertiesDialog): Add buttons to make the colors transparent. |
15 |
|
|
16 |
|
* Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which |
17 |
|
does what OnClose did, but can be called by the application to |
18 |
|
close a window. Needed when a session changes, and we have to |
19 |
|
close the classifier windows. |
20 |
|
|
21 |
|
* Thuban/UI/mainwindow.py (MainWindow.prepare_new_session): |
22 |
|
Shuts down open dialogs. Used when a new session is created |
23 |
|
or a session is opened. |
24 |
|
(MainWindow.SaveSession): Should only call application.SaveSession() |
25 |
|
if we don't call SaveSessionAs first. |
26 |
|
(MainWindow.Classify): Allow different classifier dialogs for |
27 |
|
different layers. |
28 |
|
|
29 |
|
* Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let |
30 |
|
the parent class handle it. Add Shutdown() to unsubscibe from |
31 |
|
event notification and call the parent Shutdown(). This was |
32 |
|
necessary so the application can close the tree window. |
33 |
|
|
34 |
|
2003-03-06 Jonathan Coles <[email protected]> |
35 |
|
|
36 |
|
* Thuban/Model/classification.py: Minor documentation changes, |
37 |
|
Addition of __eq__ and __ne__ methods. |
38 |
|
(Classification.SetLayer): prevent recursion between this method |
39 |
|
and Layer.SetClassification(). |
40 |
|
|
41 |
|
* Thuban/Model/color.py: Addition of __eq__ and __ne__ methods. |
42 |
|
|
43 |
|
* Thuban/Model/layer.py (SetClassification): prevent recursion |
44 |
|
between this method and Classification.SetLayer(). |
45 |
|
|
46 |
|
* test/test_classification.py, test/test_load.py, |
47 |
|
test/test_session.py: Fixed and added tests for the classification |
48 |
|
classes. |
49 |
|
|
50 |
|
2003-03-06 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__) |
53 |
|
(ClassGrid.CreateTable): Move the SetSelectionMode call to |
54 |
|
CreateTable because otherwise it triggers an assertion in |
55 |
|
wxPython/wxGTK 2.4. |
56 |
|
|
57 |
|
2003-03-05 Jonathan Coles <[email protected]> |
58 |
|
|
59 |
|
* Thuban/common.py: Move FIELDTYPE constants back to table.py. |
60 |
|
|
61 |
|
* Thuban/Model/load.py: import FIELDTYPE constants from table. |
62 |
|
|
63 |
|
* Thuban/UI/classifier.py: import FIELDTYPE constants from table. |
64 |
|
|
65 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants back. |
66 |
|
|
67 |
|
2003-03-05 Jonathan Coles <[email protected]> |
68 |
|
|
69 |
|
* Thuban/UI/classifier.py: Added class documentation. |
70 |
|
Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons. |
71 |
|
Store just the groups in the table and generate the other |
72 |
|
column information when it is requested. Add "None" field |
73 |
|
to pull-down to select no classification. |
74 |
|
|
75 |
|
* Thuban/common.py: Moved FIELDTYPE constants from table.py |
76 |
|
(Str2Num): Only catch ValueError exceptions. |
77 |
|
|
78 |
|
* Thuban/Model/classification.py: Class documentation. Renaming |
79 |
|
of methods with Stroke to Line. Groups are stored in a single |
80 |
|
list with the default as the first element. Groups are searched |
81 |
|
in the order they appear in the list. |
82 |
|
|
83 |
|
* Thuban/Model/color.py: Documentation. |
84 |
|
|
85 |
|
* Thuban/Model/layer.py (Layer): Add GetFieldType to retreive |
86 |
|
the kind of data represented by a field. |
87 |
|
|
88 |
|
* Thuban/Model/load.py (ProcessSession): Use proper string |
89 |
|
conversion function; fixes RTbug #1713. |
90 |
|
|
91 |
|
* Thuban/Model/save.py (Saver): Store field type information. |
92 |
|
|
93 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants in common.py. |
94 |
|
(Table): Add field_info_by_name() to retrieve field information |
95 |
|
by specifying the field name, not the number. |
96 |
|
|
97 |
|
* Thuban/UI/mainwindow.py: Function name changes. |
98 |
|
|
99 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
100 |
|
get the layer classification once. Don't try to classify |
101 |
|
values when the field is None: just use the default properties. |
102 |
|
|
103 |
|
* Thuban/UI/view.py: Function name changes. |
104 |
|
|
105 |
|
* Doc/thuban.dtd: Add field_type attribute to a classification. |
106 |
|
|
107 |
2003-03-04 Bernhard Herzog <[email protected]> |
2003-03-04 Bernhard Herzog <[email protected]> |
108 |
|
|
109 |
* Doc/thuban.dtd: Use correct syntax for optional attributes. Make |
* Doc/thuban.dtd: Use correct syntax for optional attributes. Make |