1 |
2001-09-06 Bernhard Herzog <[email protected]> |
2001-09-06 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |
4 |
|
Correct the spelling of SessionTreeCtrl. dabbrev is too damn |
5 |
|
convenient :-) |
6 |
|
(SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce |
7 |
|
a new instvar layer_to_item to map layers to tree items |
8 |
|
(SessionTreeCtrl.layer_selected): Select the appropriate tree item |
9 |
|
to match the current selection in the interactor |
10 |
|
|
11 |
|
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
12 |
|
(Interactor.HasSelectedLayer): New methods to query the current |
13 |
|
selection |
14 |
|
|
15 |
|
* Thuban/UI/mainwindow.py (MainWindow.current_layer): |
16 |
|
(MainWindow.has_selected_layer): Simply call the appropriate |
17 |
|
interactor method |
18 |
|
|
19 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): |
20 |
|
(MainWindow.LayerShowTable): |
21 |
|
(MainWindow.identify_view_on_demand): Store the interactor in an |
22 |
|
instvar and use that reference instead of going through main.app |
23 |
|
|
24 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
25 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
26 |
|
* Thuban/UI/main.py (main): Create the session tree view in main |
27 |
|
with the new mainwindow method ShowSessionTree and not directly |
28 |
|
the application's OnInit method |
29 |
|
|
30 |
|
* Thuban/UI/tree.py (myTreeCtrlPanel): |
31 |
|
(SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a |
32 |
|
TreeCtrl isntead of a panel. This affects most method since we now |
33 |
|
refer to self instead of self.tree |
34 |
|
(SessionTreeView): New class implementing a non-modal dialog |
35 |
|
showing the session tree. |
36 |
|
|
37 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
38 |
|
layer to the tableview dialog. |
39 |
|
|
40 |
|
* Thuban/UI/tableview.py: Add some doc-strings |
41 |
|
(TableGrid): |
42 |
|
(TableGrid.OnRangeSelect): |
43 |
|
(TableGrid.OnSelectCell): |
44 |
|
(TableFrame.__init__): |
45 |
|
(TableFrame.row_selected): |
46 |
|
Selecting rows in the grid view now updates the selected shapes |
47 |
|
through the TableFrame. To achieve this we derive TableGrid from |
48 |
|
Publisher and introduce the message type ROW_SELECTED which the |
49 |
|
TableFrame subscribes to and which is issued by OnRangeSelect and |
50 |
|
OnSelectCell |
51 |
|
|
52 |
|
(DataTable.SelectRow): Removed because it's no longer needed in |
53 |
|
the row/shape selection scheme |
54 |
|
|
55 |
* Thuban/UI/dialogs.py: New file implementing common classes for |
* Thuban/UI/dialogs.py: New file implementing common classes for |
56 |
dialogs |
dialogs |
57 |
|
|