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): |
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
21 |
(Interactor.HasSelectedLayer): New methods to query the current |
(Interactor.HasSelectedLayer): New methods to query the current |
22 |
selection |
selection |