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 |
|
(MapCanvas.FitRectToWindow): If the rect has zero with or zero |
8 |
|
height do nothing (avoids zero division errors) |
9 |
|
|
10 |
2001-09-06 Bernhard Herzog <[email protected]> |
2001-09-06 Bernhard Herzog <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |
13 |
|
Correct the spelling of SessionTreeCtrl. dabbrev is too damn |
14 |
|
convenient :-) |
15 |
|
(SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce |
16 |
|
a new instvar layer_to_item to map layers to tree items |
17 |
|
(SessionTreeCtrl.layer_selected): Select the appropriate tree item |
18 |
|
to match the current selection in the interactor |
19 |
|
|
20 |
|
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
21 |
|
(Interactor.HasSelectedLayer): New methods to query the current |
22 |
|
selection |
23 |
|
|
24 |
|
* Thuban/UI/mainwindow.py (MainWindow.current_layer): |
25 |
|
(MainWindow.has_selected_layer): Simply call the appropriate |
26 |
|
interactor method |
27 |
|
|
28 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): |
29 |
|
(MainWindow.LayerShowTable): |
30 |
|
(MainWindow.identify_view_on_demand): Store the interactor in an |
31 |
|
instvar and use that reference instead of going through main.app |
32 |
|
|
33 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
34 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
35 |
|
* Thuban/UI/main.py (main): Create the session tree view in main |
36 |
|
with the new mainwindow method ShowSessionTree and not directly |
37 |
|
the application's OnInit method |
38 |
|
|
39 |
|
* Thuban/UI/tree.py (myTreeCtrlPanel): |
40 |
|
(SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a |
41 |
|
TreeCtrl isntead of a panel. This affects most method since we now |
42 |
|
refer to self instead of self.tree |
43 |
|
(SessionTreeView): New class implementing a non-modal dialog |
44 |
|
showing the session tree. |
45 |
|
|
46 |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
47 |
layer to the tableview dialog. |
layer to the tableview dialog. |
48 |
|
|