1 |
|
2003-05-07 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
Basic Scalebar features added. |
4 |
|
|
5 |
|
* Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering. |
6 |
|
|
7 |
|
* Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap |
8 |
|
(ScaleBarBitmap): New, links the scalebar bitmap with view messages |
9 |
|
and the renderer. |
10 |
|
|
11 |
|
* Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED. |
12 |
|
|
13 |
|
* Thuban/UI/messages.py: SCALE_CHANGED added. |
14 |
|
|
15 |
|
2003-05-07 Bernhard Herzog <[email protected]> |
16 |
|
|
17 |
|
* Thuban/Model/session.py (Session.__init__): New instance |
18 |
|
variable shapestores to hold a list of all open shapestore objects |
19 |
|
(Session.ShapeStores): New. Accessor method for the shapestores |
20 |
|
list. |
21 |
|
(Session._add_shapestore, Session._clean_weak_store_refs): New. |
22 |
|
Internal methods to maintain the shapestores list. |
23 |
|
(Session.Tables): New. Return all tables open in the session. |
24 |
|
(Session.OpenShapefile): Insert the new ShapeStore into the |
25 |
|
shapestores list. |
26 |
|
|
27 |
|
* test/test_session.py (TestSessionSimple.test_initial_state): Add |
28 |
|
tests for ShapeStores and Tables |
29 |
|
(TestSessionWithContent.test_shape_stores) |
30 |
|
(TestSessionWithContent.test_tables): New. Test cases for |
31 |
|
ShapeStores and Tables |
32 |
|
|
33 |
|
2003-05-07 Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
|
* Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict): |
36 |
|
Add comments about the optimizations used. |
37 |
|
(AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New. |
38 |
|
Implement the ReadValue table interface method. |
39 |
|
|
40 |
|
* test/test_transientdb.py |
41 |
|
(TestTransientTable.run_iceland_political_tests) |
42 |
|
(TestTransientTable.test_transient_joined_table): Add tests for |
43 |
|
ReadValue |
44 |
|
|
45 |
|
2003-05-07 Frank Koormann <[email protected]> |
46 |
|
|
47 |
|
* Resources/Bitmaps/fulllayerextent.xpm, |
48 |
|
Resources/Bitmaps/fullselextent.xpm: Replaced the place holders with |
49 |
|
new icons. |
50 |
|
|
51 |
|
2003-05-06 Bernhard Herzog <[email protected]> |
52 |
|
|
53 |
|
* Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery): |
54 |
|
New. Simply delegate to the transient table's version. |
55 |
|
|
56 |
|
* test/test_transientdb.py |
57 |
|
(TestTransientTable.test_auto_transient_table_query): New. Test |
58 |
|
case for AutoTransientTable's SimpleQuery |
59 |
|
|
60 |
|
2003-05-06 Bernhard Herzog <[email protected]> |
61 |
|
|
62 |
|
* Thuban/Model/transientdb.py (TransientTableBase.SimpleQuery): |
63 |
|
Implement a simple query method for the query dialog |
64 |
|
(TransientTableBase.create): Add an INTEGER PRIMARY KEY that holds |
65 |
|
the row index or shapeid. |
66 |
|
(TransientTable.create): Insert the right value of the row index |
67 |
|
(TransientJoinedTable.create): Copy the row index of the left |
68 |
|
table to the joined result table |
69 |
|
|
70 |
|
* test/test_transientdb.py |
71 |
|
(TestTransientTable.test_transient_table_read_twice): Fix |
72 |
|
doc-string |
73 |
|
(TestTransientTable.test_transient_table_query): New. Test for the |
74 |
|
SimpleQuery method |
75 |
|
|
76 |
2003-05-06 Bernhard Herzog <[email protected]> |
2003-05-06 Bernhard Herzog <[email protected]> |
77 |
|
|
78 |
Convert all table users to use the new table interface. This only |
Convert all table users to use the new table interface. This only |