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