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]> |
33 |
|
|
34 |
|
* Thuban/UI/tableview.py (QueryTableFrame.__init__): The "_S_election" |
35 |
|
display has some unwanted side effects. Removed again. |
36 |
|
|
37 |
|
2003-05-27 Frank Koormann <[email protected]> |
38 |
|
|
39 |
|
* Resources/Bitmaps/legend_icon_layer.xpm: New, icon for legend. |
40 |
|
|
41 |
|
* Thuban/UI/legend.py (LegendTree.__FillTree): Use "legend_icon_layer" |
42 |
|
|
43 |
|
2003-05-27 Jan-Oliver Wagner <[email protected]> |
44 |
|
|
45 |
|
* 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 |
49 |
|
the menu. |
50 |
|
|
51 |
|
2003-05-27 Frank Koormann <[email protected]> |
52 |
|
|
53 |
|
Nonmodal dialogs without parent (i.e. they can fall behind the main |
54 |
|
window) |
55 |
|
|
56 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Explicitly destroy |
57 |
|
all dialogs in the dialogs dictionary and the canvas. |
58 |
|
|
59 |
|
* Thuban/UI/dialogs.py (NonModalNonParentDialog): New class, without |
60 |
|
parent, i.e. can fall behind other windows. |
61 |
|
(NonModalDialog.OnClose): Check is dialog is in mainwindow.dialog |
62 |
|
dictionary before removing it. |
63 |
|
|
64 |
|
* Thuban/UI/classifier.py: Dialog derived from NonModalNonParentDialog |
65 |
|
|
66 |
|
* Thuban/UI/projdialog.py: Dialog derived from NonModalNonParentDialog |
67 |
|
* Thuban/UI/tableview.py: Dialog derived from NonModalNonParentDialog |
68 |
|
* Thuban/UI/tree.py: Dialog derived from NonModalNonParentDialog |
69 |
|
|
70 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
71 |
|
|
72 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowTableView): New. Open a |
73 |
|
tableview dialog |
74 |
|
(MainWindow.TableShow): Use ShowTableView to open the dialogs. |
75 |
|
Also, don't use the table's titles as the dialog names. The titles |
76 |
|
aren't guaranteed to be unique. |
77 |
|
(MainWindow.TableOpen): Open a table view dialog after opening the |
78 |
|
table |
79 |
|
|
80 |
|
2003-05-27 Bernhard Herzog <[email protected]> |
81 |
|
|
82 |
|
* Thuban/UI/mainwindow.py: Remove the Table/Hide menu item. Its |
83 |
|
effect can be achieved by simply closing the window showing the |
84 |
|
table. |
85 |
|
(MainWindow.TableHide): Removed. |
86 |
|
(main_menu): Removed "table_hide" |
87 |
|
|
88 |
2003-05-27 Frank Koormann <[email protected]> |
2003-05-27 Frank Koormann <[email protected]> |
89 |
|
|
90 |
Fix legend tree display problems under Win32 |
Fix legend tree display problems under Win32 |