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