1 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/messages.py (TABLE_REMOVED): New message. |
4 |
|
|
5 |
|
* Thuban/Model/session.py (Session.UnreferencedTables): New method |
6 |
|
to return tables that are not referenced by other tables or shape |
7 |
|
stores and can be removed. |
8 |
|
(Session.RemoveTable): Issue a TABLE_REMOVED message after |
9 |
|
removing the table |
10 |
|
|
11 |
|
* Thuban/UI/mainwindow.py: Remove unused imports |
12 |
|
(MainWindow.TableClose): Implement. |
13 |
|
|
14 |
|
* Thuban/UI/tableview.py (TableFrame.__init__): Subscribe to some |
15 |
|
messages so that the frame will be automatically closed when a new |
16 |
|
session is opened or the table is removed. |
17 |
|
(TableFrame.OnClose): Unsubscribe the Subscriptions made in |
18 |
|
__init__ |
19 |
|
(TableFrame.close_on_session_replaced) |
20 |
|
(TableFrame.close_on_table_removed): New. Subscribers that close |
21 |
|
the window |
22 |
|
|
23 |
|
* test/test_session.py (TestSessionMessages.test_remove_table) |
24 |
|
(TestSessionSimple.test_remove_table): Move the test to |
25 |
|
TestSessionSimple and add test for the TABLE_REMOVED message |
26 |
|
(TestSessionBase.setUp): Also subscribe to TABLE_REMOVED |
27 |
|
(TestSessionSimple.test_unreferenced_tables) New. Test for the |
28 |
|
UnreferencedTables method. |
29 |
|
(UnreferencedTablesTests): New. Class with some more sophisticated |
30 |
|
tests for UnreferencedTables. |
31 |
|
|
32 |
2003-05-27 Frank Koormann <[email protected]> |
2003-05-27 Frank Koormann <[email protected]> |
33 |
|
|
34 |
* Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election" |
* Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election" |
42 |
|
|
43 |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
2003-05-27 Jan-Oliver Wagner <[email protected]> |
44 |
|
|
45 |
* test/test_menu.py (MenuTest.test): Added test for Menu.RemoveItem(). |
* test/test_menu.py (MenuTest.test): Added test for |
46 |
|
Menu.RemoveItem(). |
47 |
|
|
48 |
* Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from the menu. |
* Thuban/UI/menu.py (Menu.RemoveItem): New. Remove an item from |
49 |
|
the menu. |
50 |
|
|
51 |
2003-05-27 Frank Koormann <[email protected]> |
2003-05-27 Frank Koormann <[email protected]> |
52 |
|
|