1 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_command.py: New. Tests for the command classes. |
4 |
|
|
5 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
6 |
|
(Command.IsTool): New method to distinguish between command |
7 |
|
switching tools and other commands. |
8 |
|
|
9 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
10 |
|
the tool to avoid direct assignments to instance variables |
11 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
12 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
13 |
|
change the tool |
14 |
|
|
15 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
16 |
|
active tool's command turns insensitive, disable the tool. |
17 |
|
(_tool_command): Use the new ToolCommand class |
18 |
|
|
19 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
20 |
|
SelectTool method to change the tool |
21 |
|
(iconfile): Use the ToolCommand class |
22 |
|
|
23 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
26 |
|
the case of selected items that are not children of Layers or Maps |
27 |
|
properly. Previously this bug would trigger an assertion in |
28 |
|
wxWindows. |
29 |
|
|
30 |
|
2002-11-06 Frank Koormann <[email protected]> |
31 |
|
|
32 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
33 |
|
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
34 |
|
Full Extent). |
35 |
|
|
36 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
37 |
|
|
38 |
|
* setup.py (setup call): version now 0.1.3 |
39 |
|
|
40 |
|
* MANIFEST.in: Add the files in test/ |
41 |
|
|
42 |
|
* test/README: Add note about tests requiring the iceland data |
43 |
|
|
44 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
45 |
|
copyright notice. |
46 |
|
|
47 |
2002-10-18 Bernhard Herzog <[email protected]> |
2002-10-18 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
* test/test_map.py |
* test/test_map.py |