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