1 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py (_can_unjoin): Add doc-string and cope |
4 |
|
with layers that don't have shapestores, i.e. raster layers. |
5 |
|
|
6 |
|
2003-05-28 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
* Thuban/Model/table.py (DBFTable.__init__): Omit the extension |
9 |
|
when determining the title from the filename. |
10 |
|
|
11 |
|
* test/test_dbf_table.py (TestDBFTable.test_title): Update to |
12 |
|
reflect changes in the way the title is derived from the filename |
13 |
|
|
14 |
|
2003-05-28 Frank Koormann <[email protected]> |
15 |
|
|
16 |
|
* Thuban/UI/mainwindow.py (MainWindow.TableShow): |
17 |
|
Added wxDEFAULT_DIALOG_STYLE to show table dialog styles. |
18 |
|
|
19 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages): Also |
22 |
|
delegate SelectedLayer. |
23 |
|
(MainWindow.LayerUnjoinTable): Implement. |
24 |
|
(_can_unjoin): New. Helper function for the sensitivity of the |
25 |
|
layer/unjoin command. |
26 |
|
|
27 |
|
* Thuban/Model/data.py (ShapefileStore.OrigShapeStore) |
28 |
|
(DerivedShapeStore.OrigShapeStore): New. Return the original |
29 |
|
shapestore. Used to figure out how to unjoin. |
30 |
|
(DerivedShapeStore.Shapefile): Fix a typo. |
31 |
|
|
32 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
* Thuban/UI/join.py (JoinDialog): Extend to handle layer joins as |
35 |
|
well |
36 |
|
(JoinDialog.__init__): Use the layer parameter and only build the |
37 |
|
left choice when a layer is given |
38 |
|
(JoinDialog.OnJoin): Handle layer joins as well |
39 |
|
(JoinDialog.OnLeftTable, JoinDialog.OnRightTable): Handle the case |
40 |
|
that the user selects the "Select..." item. The sensitivitly |
41 |
|
updating is now in update_sensitivity |
42 |
|
(JoinDialog.y): New method to refactor the sensitivity update of |
43 |
|
the join button into its own method. |
44 |
|
|
45 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerJoinTable): Implement. |
46 |
|
|
47 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
|
* Thuban/UI/mainwindow.py (table_close command): Make it sensitive |
50 |
|
iff there are unreferenced tables in the session |
51 |
|
|
52 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
53 |
|
|
54 |
|
* Thuban/Model/messages.py (TABLE_REMOVED): New message. |
55 |
|
|
56 |
|
* Thuban/Model/session.py (Session.UnreferencedTables): New method |
57 |
|
to return tables that are not referenced by other tables or shape |
58 |
|
stores and can be removed. |
59 |
|
(Session.RemoveTable): Issue a TABLE_REMOVED message after |
60 |
|
removing the table |
61 |
|
|
62 |
|
* Thuban/UI/mainwindow.py: Remove unused imports |
63 |
|
(MainWindow.TableClose): Implement. |
64 |
|
|
65 |
|
* Thuban/UI/tableview.py (TableFrame.__init__): Subscribe to some |
66 |
|
messages so that the frame will be automatically closed when a new |
67 |
|
session is opened or the table is removed. |
68 |
|
(TableFrame.OnClose): Unsubscribe the Subscriptions made in |
69 |
|
__init__ |
70 |
|
(TableFrame.close_on_session_replaced) |
71 |
|
(TableFrame.close_on_table_removed): New. Subscribers that close |
72 |
|
the window |
73 |
|
|
74 |
|
* test/test_session.py (TestSessionMessages.test_remove_table) |
75 |
|
(TestSessionSimple.test_remove_table): Move the test to |
76 |
|
TestSessionSimple and add test for the TABLE_REMOVED message |
77 |
|
(TestSessionBase.setUp): Also subscribe to TABLE_REMOVED |
78 |
|
(TestSessionSimple.test_unreferenced_tables) New. Test for the |
79 |
|
UnreferencedTables method. |
80 |
|
(UnreferencedTablesTests): New. Class with some more sophisticated |
81 |
|
tests for UnreferencedTables. |
82 |
|
|
83 |
2003-05-27 Frank Koormann <[email protected]> |
2003-05-27 Frank Koormann <[email protected]> |
84 |
|
|
85 |
* Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election" |
* Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election" |
93 |
|
|
94 |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
95 |
|
|
96 |
* test/test_menu.py (MenuTest.test): Added test for Menu.RemoveItem(). |
* test/test_menu.py (MenuTest.test): Added test for |
97 |
|
Menu.RemoveItem(). |
98 |
|
|
99 |
* Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from the menu. |
* Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from |
100 |
|
the menu. |
101 |
|
|
102 |
2003-05-27 Frank Koormann <[email protected]> |
2003-05-27 Frank Koormann <[email protected]> |
103 |
|
|