1 |
|
2002-07-18 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/main.py (main): app no longer needs to be global |
4 |
|
|
5 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Add application |
6 |
|
as parameter and store it in an instance variable |
7 |
|
(MainWindow.invoke_command, MainWindow.update_command_ui) |
8 |
|
(MainWindow.save_modified_session, MainWindow.NewSession) |
9 |
|
(MainWindow.OpenSession, MainWindow.SaveSession) |
10 |
|
(MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's |
11 |
|
application object. |
12 |
|
|
13 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate |
14 |
|
the main window with self. |
15 |
|
|
16 |
|
* Thuban/UI/context.py: New module with the context class |
17 |
|
|
18 |
|
* Thuban/UI/command.py (Command): Update doc string. |
19 |
|
|
20 |
|
* Thuban/UI/mainwindow.py (MainWindow.invoke_command, |
21 |
|
MainWindow.update_command_ui): Pass an instance of the context |
22 |
|
class to the command's methods |
23 |
|
(check_current_tool, call_method): Handle the new context |
24 |
|
implementation |
25 |
|
|
26 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool, |
27 |
|
check_simple_tool): Handle the new context implementation |
28 |
|
|
29 |
|
* Examples/simple_extensions/simple_command.py (simple_command): |
30 |
|
Handle the new context implementation. Update the comments about |
31 |
|
the context. |
32 |
|
|
33 |
|
* Thuban/UI/application.py (ThubanApplication.SetSession): Add |
34 |
|
doc-string |
35 |
|
(ThubanApplication.Session): New method to return the session |
36 |
|
object |
37 |
|
|
38 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The |
39 |
|
interactor's selected_layer may not be a layer of the current |
40 |
|
session when the tree is updated while a new session is being set. |
41 |
|
|
42 |
|
2002-07-17 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* Thuban/UI/tree.py (color_string): Removed. No longer used. |
45 |
|
(SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split |
46 |
|
update_tree into update_tree and add_items. The tree now uses a |
47 |
|
more generic way to display the contents of the tree. |
48 |
|
(SessionTreeCtrl): Add a doc string explaining the TreeInfo method |
49 |
|
|
50 |
|
* Thuban/Model/layer.py (Layer.TreeInfo), |
51 |
|
Thuban/Model/extension.py (Extension.TreeInfo), |
52 |
|
Thuban/Model/map.py (Map.TreeInfo), |
53 |
|
Thuban/Model/session.py (Session.TreeInfo): |
54 |
|
Add TreeInfo methods to implement the new tree view update scheme |
55 |
|
|
56 |
|
2002-07-16 Bernhard Herzog <[email protected]> |
57 |
|
|
58 |
|
* Thuban/UI/application.py: Don't use "import from" for the |
59 |
|
MainWindow. It can't always be resolved. |
60 |
|
(ThubanApplication.OnInit): change reference to MainWindow |
61 |
|
accordingly. |
62 |
|
|
63 |
|
* Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu |
64 |
|
completely |
65 |
|
|
66 |
|
2002-07-10 Bernhard Herzog <[email protected]> |
67 |
|
|
68 |
|
* setup.py (create_init_module): New configurable variable whose |
69 |
|
default depends on the platform we're running on. |
70 |
|
(ThubanInstall.initialize_options): Initialize |
71 |
|
self.create_init_module from the global create_init_module |
72 |
|
(ThubanInstall.user_options): indictate that the options |
73 |
|
create-init-module and init-module-dir have arguments. |
74 |
|
|
75 |
|
* setup.py: In the setup call change the version number to include |
76 |
|
cvs. |
77 |
|
|
78 |
|
* MANIFEST.in: Add the files in Examples |
79 |
|
|
80 |
2002-07-09 Bernhard Herzog <[email protected]> |
2002-07-09 Bernhard Herzog <[email protected]> |
81 |
|
|
82 |
|
* setup.py: In the setup call, use the thuban homepage as the |
83 |
|
value of the url parameter. |
84 |
|
|
85 |
|
* Examples: New subdirectory for examples. |
86 |
|
|
87 |
|
* Examples/simple_extensions/simple_tool.xpm, |
88 |
|
Examples/simple_extensions/simple_tool.py, |
89 |
|
Examples/simple_extensions/simple_command.py, |
90 |
|
Examples/simple_extensions/README: Simple examples showing how to |
91 |
|
add new commands and tools. |
92 |
|
|
93 |
|
* setup.cfg (bdist_rpm): Add the default value for prefix and tell |
94 |
|
bdist_rpm that we also have an install script. |
95 |
|
(bdist_inno): Add 2002 to the copyright notice. |
96 |
|
|
97 |
* setup.py: Create a file in python's site-packages directory to |
* setup.py: Create a file in python's site-packages directory to |
98 |
make installation of Thuban as a library easier. |
make installation of Thuban as a library easier. |
99 |
(ThubanInstall.user_options): Add two new options, |
(ThubanInstall.user_options): Add two new options, |