1 |
|
2003-03-11 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog. |
4 |
|
Use True instead of true. |
5 |
|
(Classifier): Should have a single panel in which all the controls lie. |
6 |
|
|
7 |
|
* Thuban/UI/proj4dialog.py: Add normal border. |
8 |
|
|
9 |
|
* Thuban/UI/tree.py: Fixed problem with bad item images under Windows. |
10 |
|
|
11 |
|
* Thuban/UI/mainwindow.py: Use True instead of true. |
12 |
|
|
13 |
|
* setup.py: Update some definitions to use wxWindows2.4 files |
14 |
|
|
15 |
|
* Data/iceland_sample_class.thuban: Fixed file so that the |
16 |
|
field_type information is present. |
17 |
|
|
18 |
|
2003-03-10 Jonathan Coles <[email protected]> |
19 |
|
|
20 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Make the |
21 |
|
field type label grow so that when the text changes the |
22 |
|
size is updated correctly. This may be a wxWindows bug. |
23 |
|
|
24 |
|
2003-03-10 Jonathan Coles <[email protected]> |
25 |
|
|
26 |
|
* Thuban/UI/application.py: Changed SESSION_CHANGED to |
27 |
|
SESSION_REPLACED. |
28 |
|
|
29 |
|
* Thuban/UI/classifier.py: Wrap text with _(). |
30 |
|
(ClassGrid.CreateTable): Set dimensions and size hints here, |
31 |
|
instead of in Reset, so we only set the size once. |
32 |
|
|
33 |
|
* Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()! |
34 |
|
|
35 |
|
* Thuban/UI/mainwindow.py (MainWindow.prepare_new_session): |
36 |
|
Call Close() instead of Shutdown(). |
37 |
|
|
38 |
|
* Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED. |
39 |
|
|
40 |
|
* Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED. |
41 |
|
Go back to using OnClose() instead of Shutdown(). |
42 |
|
|
43 |
|
2003-03-10 Jonathan Coles <[email protected]> |
44 |
|
|
45 |
|
* Thuban/UI/classifier.py (Classifier): SelectField() needed |
46 |
|
to know the old field index as well as the new one. |
47 |
|
|
48 |
|
2003-03-10 Jonathan Coles <[email protected]> |
49 |
|
|
50 |
|
* Thuban/UI/classifier.py (Classifier): Use __SelectField() |
51 |
|
to correctly set the table information and call this from |
52 |
|
__init__ and from _OnFieldSelect so that all the information |
53 |
|
is up to date when the dialog opens and when a field is changed. |
54 |
|
|
55 |
|
2003-03-10 Jonathan Coles <[email protected]> |
56 |
|
|
57 |
|
* Thuban/Model/classification.py (Classification): Don't use |
58 |
|
layer's message function directly, use the ClassChanged() method |
59 |
|
when then classification changes. SetField/SetFieldType/SetLayer |
60 |
|
must keep the information about field name and field type in |
61 |
|
sync when an owning layer is set or removed. |
62 |
|
|
63 |
|
* Thuban/Model/layer.py: Added ClassChanged() so that the |
64 |
|
classification can tell the layer when its data has changed. |
65 |
|
(Layer.SetClassification): Accepts None as an arguement to |
66 |
|
remove the current classification and correctly handles |
67 |
|
adding a new classification. |
68 |
|
|
69 |
|
* Thuban/Model/load.py: Comment out print statement |
70 |
|
|
71 |
|
* test/test_classification.py, test/test_save.py: New and |
72 |
|
improved tests. |
73 |
|
|
74 |
|
2003-03-07 Jonathan Coles <[email protected]> |
75 |
|
|
76 |
|
* Thuban/Model/classification.py: Implemented __copy__ and |
77 |
|
__deepcopy__ for ClassGroup* and ClassGroupProperites so |
78 |
|
they can easily be copied by the classifier dialog. |
79 |
|
(ClassGroupProperites.__init__): The default line color should |
80 |
|
have been Color.Black. |
81 |
|
|
82 |
|
* Thuban/UI/classifier.py: Setting and Getting table values now |
83 |
|
uses a consistent set of functions. |
84 |
|
(Classifier): Now non-modal. Has field type label which changes |
85 |
|
as the field changes. Keep track of buttons in a list so that |
86 |
|
we can enable/disable the buttons when the None field is selected. |
87 |
|
(SelectPropertiesDialog): Add buttons to make the colors transparent. |
88 |
|
|
89 |
|
* Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which |
90 |
|
does what OnClose did, but can be called by the application to |
91 |
|
close a window. Needed when a session changes, and we have to |
92 |
|
close the classifier windows. |
93 |
|
|
94 |
|
* Thuban/UI/mainwindow.py (MainWindow.prepare_new_session): |
95 |
|
Shuts down open dialogs. Used when a new session is created |
96 |
|
or a session is opened. |
97 |
|
(MainWindow.SaveSession): Should only call application.SaveSession() |
98 |
|
if we don't call SaveSessionAs first. |
99 |
|
(MainWindow.Classify): Allow different classifier dialogs for |
100 |
|
different layers. |
101 |
|
|
102 |
|
* Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let |
103 |
|
the parent class handle it. Add Shutdown() to unsubscibe from |
104 |
|
event notification and call the parent Shutdown(). This was |
105 |
|
necessary so the application can close the tree window. |
106 |
|
|
107 |
|
2003-03-06 Jonathan Coles <[email protected]> |
108 |
|
|
109 |
|
* Thuban/Model/classification.py: Minor documentation changes, |
110 |
|
Addition of __eq__ and __ne__ methods. |
111 |
|
(Classification.SetLayer): prevent recursion between this method |
112 |
|
and Layer.SetClassification(). |
113 |
|
|
114 |
|
* Thuban/Model/color.py: Addition of __eq__ and __ne__ methods. |
115 |
|
|
116 |
|
* Thuban/Model/layer.py (SetClassification): prevent recursion |
117 |
|
between this method and Classification.SetLayer(). |
118 |
|
|
119 |
|
* test/test_classification.py, test/test_load.py, |
120 |
|
test/test_session.py: Fixed and added tests for the classification |
121 |
|
classes. |
122 |
|
|
123 |
2003-03-06 Bernhard Herzog <[email protected]> |
2003-03-06 Bernhard Herzog <[email protected]> |
124 |
|
|
125 |
* Thuban/UI/classifier.py (ClassGrid.__init__) |
* Thuban/UI/classifier.py (ClassGrid.__init__) |