1 |
|
2002-07-30 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py (ThubanApplication.OnExit): Do some |
4 |
|
cleanup. |
5 |
|
(ThubanApplication.MainLoop): Extend to automatically call OnExit. |
6 |
|
|
7 |
|
* Thuban/Model/session.py (Session.Destroy): Don't bypass the |
8 |
|
direct base class' Destroy method. |
9 |
|
|
10 |
|
* Thuban/Model/map.py (Map.ClearLayers): New method to delete all |
11 |
|
layers. |
12 |
|
(Map.Destroy): Destroy the label_layer as well and call the |
13 |
|
inherited Desatroymethod first so that no more messages are |
14 |
|
issued. |
15 |
|
(Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED |
16 |
|
message if the stacking order actually has changed. Add |
17 |
|
doc-strings. |
18 |
|
(Map.BoundingBox): Correct the doc-string. |
19 |
|
(Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers) |
20 |
|
(Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings. |
21 |
|
|
22 |
|
* Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete |
23 |
|
all labels. |
24 |
|
|
25 |
|
2002-07-29 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
|
* Thuban/Model/map.py (Map.subscribe_layer_channels) |
28 |
|
(Map.unsubscribe_layer_channels): Put the code that (un)subscribes |
29 |
|
to a layer's channels into separate methods. |
30 |
|
(Map.RemoveLayer, Map.AddLayer): Call the new methods |
31 |
|
(Map.Destroy): Unsubscribe from a layer's channels before |
32 |
|
destroying it. |
33 |
|
|
34 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Change the |
35 |
|
selected_layer parameter to searched_layer which is the layer to |
36 |
|
search in. |
37 |
|
(MapCanvas.SelectShapeAt): New parameter layer to restrict the |
38 |
|
search to that layer. Return the selected layer and shape. |
39 |
|
|
40 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Fix a |
41 |
|
typo |
42 |
|
|
43 |
|
2002-07-24 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* Thuban/UI/application.py (ThubanApplication.create_session): |
46 |
|
Extend the doc string. |
47 |
|
(ThubanApplication.subscribe_session) |
48 |
|
(ThubanApplication.unsubscribe_session): New methods to |
49 |
|
subscribe/unsubscribe to/from session channels. |
50 |
|
(ThubanApplication.SetSession): Call the new methods here. |
51 |
|
(ThubanApplication.maps_changed, ThubanApplication.set_map): |
52 |
|
Renamed set_map to maps_changed. Its now a subscriber for |
53 |
|
MAPS_CHANGED. |
54 |
|
|
55 |
|
* Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct |
56 |
|
x-coordinate in case of simple clicks |
57 |
|
|
58 |
|
* Thuban/Model/base.py (Modifiable.changed): Apply the args tuple, |
59 |
|
don't pass it as a parameter |
60 |
|
|
61 |
|
* Thuban/Model/session.py (Session.RemoveMap): New |
62 |
|
|
63 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial |
64 |
|
window size into a parameter. |
65 |
|
|
66 |
2002-07-23 Bernhard Herzog <[email protected]> |
2002-07-23 Bernhard Herzog <[email protected]> |
67 |
|
|
68 |
|
* Thuban/UI/menu.py (Menu.item_index): Also search for menus not |
69 |
|
just commands. |
70 |
|
|
71 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Change the |
* Thuban/UI/mainwindow.py (MainWindow.__init__): Change the |
72 |
parameter list a bit to allow setting the window title and the |
parameter list a bit to allow setting the window title and the |
73 |
initial message in the status bar. Update the callers. |
initial message in the status bar. Update the callers. |