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