1 |
2003-11-11 Bernhard Herzog <[email protected]> |
2003-11-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/resource.py (get_system_proj_file): Add a filename |
4 |
|
parameter so that this function can be used for all proj files in |
5 |
|
Resource/Projections |
6 |
|
(DEFAULT_PROJ_FILE, EPSG_PROJ_FILE): New. Predefined filenames for |
7 |
|
get_system_proj_file |
8 |
|
|
9 |
|
* Thuban/UI/projdialog.py (ProjFrame.__init__): Instead of one |
10 |
|
ProjFile self.__sysProjFile use a dictionary of system ProjFile |
11 |
|
objects self._sys_proj_files |
12 |
|
(ProjFrame.build_dialog): Adapt to the new changes in the |
13 |
|
ProjectionList constructor. Add a check button to toggle whether |
14 |
|
EPSG projections are shown |
15 |
|
(ProjFrame._OnShowEPSG): New. Handler for the epsg check button |
16 |
|
events. |
17 |
|
(ProjFrame.load_user_proj, ProjFrame.load_system_proj): Only show |
18 |
|
the busy cursor if the files have not yet been loaded by the |
19 |
|
dialog. |
20 |
|
(ProjFrame.load_system_proj): Add a parameter for the name of the |
21 |
|
proj file. Maintain the dictionary of system projections |
22 |
|
self._sys_proj_files |
23 |
|
|
24 |
|
* Thuban/UI/projlist.py (ProjectionList): Merge the system_projs, |
25 |
|
user_projs parameters into one parameter proj_files which is a |
26 |
|
list of proj files. |
27 |
|
(ProjectionList._subscribe_proj_files) |
28 |
|
(ProjectionList._unsubscribe_proj_files): New. Move |
29 |
|
subscription/unsubscription of projfile messages to separate |
30 |
|
methods |
31 |
|
(ProjectionList.Destroy): The unsubscribe is now done in |
32 |
|
_unsubscribe_proj_files |
33 |
|
(ProjectionList.update_projections): We now have a list of proj |
34 |
|
file objects |
35 |
|
(ProjectionList.SetProjFiles): New method to set a new list of |
36 |
|
proj file objects |
37 |
|
|
38 |
|
* test/test_proj.py (ProjFileReadTests.test_get_system_proj_file): |
39 |
|
Specify explicitly which system proj file to load. |
40 |
|
|
41 |
|
2003-11-11 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
* Thuban/Model/load.py (SessionLoader.Destroy): New. Clear all |
* Thuban/Model/load.py (SessionLoader.Destroy): New. Clear all |
44 |
instance variables to cut cyclic references. The GC would have |
instance variables to cut cyclic references. The GC would have |
45 |
collected the loader eventually but it can happen that it doesn't |
collected the loader eventually but it can happen that it doesn't |