1 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call |
4 |
|
the wxMessageDialog's Destroy() method. |
5 |
|
|
6 |
|
2003-05-22 Frank Koormann <[email protected]> |
7 |
|
|
8 |
|
* Thuban/UI/join.py (JoinDialog.__init__): Make use of |
9 |
|
TransientTable.Title() |
10 |
|
|
11 |
|
2003-05-22 Frank Koormann <[email protected]> |
12 |
|
|
13 |
|
Join Dialog, initial version. |
14 |
|
|
15 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print. |
16 |
|
|
17 |
|
* Thuban/UI/join.py (JoinDialog): Functional implementation of |
18 |
|
former framework. Renamed Table1/Table2 to LeftTable/RightTable |
19 |
|
in all occurences. |
20 |
|
|
21 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__doc__): |
22 |
|
Typo fixed. |
23 |
|
|
24 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
25 |
|
|
26 |
|
Give the tables titles so that the GUI can display more meaningful |
27 |
|
names. For now the titles are fixed but depend on e.g. filenames |
28 |
|
or the titles of the joined tables. |
29 |
|
|
30 |
|
* Thuban/Model/transientdb.py (TransientTable.Title) |
31 |
|
(TransientJoinedTable.Title, AutoTransientTable.Title): New. |
32 |
|
|
33 |
|
* Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New. |
34 |
|
|
35 |
|
* test/test_transientdb.py |
36 |
|
(TestTransientTable.test_auto_transient_table_title): New. Test |
37 |
|
for the Title method |
38 |
|
(TestTransientTable.test_transient_joined_table) |
39 |
|
(TestTransientTable.test_transient_table): Add test for the Title |
40 |
|
methods |
41 |
|
|
42 |
|
* test/test_memory_table.py (TestMemoryTable.test_title): New. |
43 |
|
Test for the Title method |
44 |
|
|
45 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): New. Test for |
46 |
|
the Title method |
47 |
|
|
48 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
49 |
|
|
50 |
|
* test/test_layer.py (TestLayer.setUp, TestLayer.tearDown): |
51 |
|
Provide a better way to destroy the layers |
52 |
|
(TestLayer.test_base_layer, TestLayer.test_arc_layer) |
53 |
|
(TestLayer.test_point_layer, TestLayer.test_empty_layer) |
54 |
|
(TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use |
55 |
|
the new way to destroy the layers. |
56 |
|
(TestLayer.test_derived_store): New. Test for using a layer with a |
57 |
|
DerivedShapeStore |
58 |
|
|
59 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Only set the |
60 |
|
filename if the shape store actually has one. |
61 |
|
|
62 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
63 |
|
|
64 |
|
* Thuban/Model/table.py (DBFTable.FileName): New. Accessor method |
65 |
|
for the filename |
66 |
|
|
67 |
|
* test/test_dbf_table.py (TestDBFTable.test_filename): New. Test |
68 |
|
for the FileName method |
69 |
|
(TestDBFTableWriting.test_write): Fix spelling of filename |
70 |
|
|
71 |
|
2003-05-22 Thomas Koester <[email protected]> |
72 |
|
|
73 |
|
* Thuban/Model/range.py, test/test_range.py: Brought over new Range |
74 |
|
from SciParam that now really is immutable. |
75 |
|
|
76 |
|
2003-05-22 Frank Koormann <[email protected]> |
77 |
|
|
78 |
|
Layer Top/Bottom placement added to legend. |
79 |
|
|
80 |
|
* Thuban/UI/legend.py |
81 |
|
(LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods |
82 |
|
bound to tool events. |
83 |
|
(LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom): |
84 |
|
New, methods binding the event methods with the map methods. |
85 |
|
|
86 |
|
* Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place |
87 |
|
layer at top/bottom of layer stack. |
88 |
|
|
89 |
|
* Resources/Bitmaps/top_layer.xpm: New button icon. |
90 |
|
|
91 |
|
* Resources/Bitmaps/bottom_layer.xpm: New button icon. |
92 |
|
|
93 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
94 |
|
|
95 |
|
* Thuban/Model/session.py (Session.RemoveTable): New method to |
96 |
|
remove tables |
97 |
|
|
98 |
|
* test/test_session.py (TestSessionSimple.test_remove_table): New. |
99 |
|
Test for RemoveTable |
100 |
|
|
101 |
|
2003-05-22 Thomas Koester <[email protected]> |
102 |
|
|
103 |
|
* Thuban/Model/classgen.py: Added short module doc string and CVS id. |
104 |
|
(ClassGenerator.GenUniformDistribution): Use new Range __init__, too. |
105 |
|
|
106 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
107 |
|
|
108 |
|
Implement a way to discover dependencies between tables and |
109 |
|
shapestores. |
110 |
|
|
111 |
|
* Thuban/Model/transientdb.py (TransientTableBase.Dependencies) |
112 |
|
(TransientJoinedTable.Dependencies) |
113 |
|
(AutoTransientTable.SimpleQuery): New. Implement the dependencies |
114 |
|
interface |
115 |
|
(TransientJoinedTable.__init__): Keep tack of the original table |
116 |
|
objects in addition to the corresponding transient tables. |
117 |
|
|
118 |
|
* Thuban/Model/table.py (DBFTable.Dependencies) |
119 |
|
(MemoryTable.Dependencies): New. Implement the dependencies |
120 |
|
interface |
121 |
|
|
122 |
|
* Thuban/Model/data.py (ShapeTable): New. Helper class for |
123 |
|
ShapefileStore |
124 |
|
(ShapefileStore.__init__): Use ShapeTable instead of |
125 |
|
AutoTransientTable |
126 |
|
(ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings |
127 |
|
(ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor |
128 |
|
methods for filename and type |
129 |
|
(ShapefileStore.Dependencies): New. Implement the dependencies |
130 |
|
interface |
131 |
|
(DerivedShapeStore): New class to replace SimpleStore. The main |
132 |
|
difference to SimpleStore is that it depends not on a shapefile |
133 |
|
but another shapestore which expresses the dependencies a bit |
134 |
|
better |
135 |
|
(SimpleStore.__init__): Add deprecation warning. |
136 |
|
|
137 |
|
* test/test_dbf_table.py (TestDBFTable.test_dependencies): New. |
138 |
|
Test for the Dependencies method. |
139 |
|
|
140 |
|
* test/test_memory_table.py (TestMemoryTable.test_dependencies): |
141 |
|
New. Test for the Dependencies method. |
142 |
|
|
143 |
|
* test/test_transientdb.py |
144 |
|
(TestTransientTable.test_auto_transient_table_dependencies): New. |
145 |
|
Test for the Dependencies method. |
146 |
|
(TestTransientTable.test_transient_joined_table): Add test for the |
147 |
|
Dependencies method. |
148 |
|
|
149 |
|
* test/test_session.py (TestSessionSimple.setUp) |
150 |
|
(TestSessionSimple.tearDown): New. Implement a better way to |
151 |
|
destroy the sessions. |
152 |
|
(TestSessionSimple.test_initial_state) |
153 |
|
(TestSessionSimple.test_add_table): Bind session to self.session |
154 |
|
so that it's destroyed by tearDown |
155 |
|
(TestSessionSimple.test_open_shapefile): New. Test for |
156 |
|
OpenShapefile and the object it returns |
157 |
|
|
158 |
|
2003-05-22 Bernhard Herzog <[email protected]> |
159 |
|
|
160 |
|
* Thuban/Model/session.py (Session.AddTable): New method to |
161 |
|
register tables with the session. |
162 |
|
(Session.Tables): Return the tables registered with AddTable too. |
163 |
|
|
164 |
|
* test/test_session.py (TestSessionSimple.test_add_table): New. |
165 |
|
Test case for the AddTable method |
166 |
|
|
167 |
|
2003-05-22 Frank Koormann <[email protected]> |
168 |
|
|
169 |
|
UI polishing updates: Place main buttons (OK, Cancel, etc) in the |
170 |
|
lower right corner, center labels for selections, initialize controls |
171 |
|
in reasonable order for keyboard navigation. |
172 |
|
|
173 |
|
* Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout) |
174 |
|
(ProjFrame.__DoOnProjAvail): Determine position of current projection |
175 |
|
using the wxListBox.FindString() method. Still a problem (#1886) |
176 |
|
|
177 |
|
* Thuban/UI/classifier.py |
178 |
|
(Classifier.__init__, SelectPropertiesDialog.__init__) |
179 |
|
|
180 |
|
* Thuban/UI/classgen.py (ClassGenDialog.__init__, |
181 |
|
(ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the |
182 |
|
different classification types from here to __init__. |
183 |
|
(GenUniquePanel.__init__): Set the column width of the first field |
184 |
|
in the Field ListCtrl to the full width. |
185 |
|
|
186 |
|
* Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As' |
187 |
|
Button to 'Export'. Center Buttons in Selection Box, set Focus to |
188 |
|
Grid. |
189 |
|
(LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN, |
190 |
|
changes focus to the Selection when pressing "Alt-S". |
191 |
|
|
192 |
|
* Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out |
193 |
|
the text if not visible. The italic font sometimes exceeds the |
194 |
|
rendering area. |
195 |
|
|
196 |
2003-05-21 Jonathan Coles <[email protected]> |
2003-05-21 Jonathan Coles <[email protected]> |
197 |
|
|
198 |
* Thuban/UI/dock.py (DockFrame): Rename references to _OnClose |
* Thuban/UI/dock.py (DockFrame): Rename references to _OnClose |