1 |
2003-04-25 Jonathan Coles <[email protected]> |
2003-04-25 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/save.py (SessionSaver.write_projection): Make sure |
4 |
|
to save the name of the projection. |
5 |
|
|
6 |
|
* test/test_save.py (SaveSessionTest.testLayerProjection): New |
7 |
|
test to verify layer projections are saved correctly. |
8 |
|
|
9 |
|
2003-04-25 Jonathan Coles <[email protected]> |
10 |
|
|
11 |
|
* Thuban/Model/proj.py (Projection.SetName): Set the name |
12 |
|
to "Unknown" if name is None. |
13 |
|
(Projection.SetAllParameters): New. Set the projection's |
14 |
|
parameter list to the one supplied. |
15 |
|
(Projection.SetProjection): New. Set the projection's |
16 |
|
properties to those of the supplied Projection. |
17 |
|
|
18 |
|
* Thuban/UI/mainwindow.py (MainWindow.MapProjection): Set |
19 |
|
the dialog title to include the map's title. |
20 |
|
(MainWindow.LayerProjection): Set the dialog title to include |
21 |
|
the layer's title. |
22 |
|
|
23 |
|
* Thuban/UI/projdialog.py (ProjFrame.__ShowError): Consolidate |
24 |
|
error dialogs into a single method call. |
25 |
|
(ProjFrame.__VerifyButtons): Add more states to check. |
26 |
|
(ProjFrame.__GetProjection): Return the current state of an |
27 |
|
edited projection or None. |
28 |
|
(ProjFrame.__FillAvailList): Remove checks for states that |
29 |
|
shouldn't exist. |
30 |
|
(ProjFrame._OnNew): Clear all selected items and supply |
31 |
|
a projection panel if necessary. |
32 |
|
|
33 |
|
* test/test_proj.py (TestProjFile.test): Add tests for |
34 |
|
ProjFile.SetAllParameters, ProjFile.SetProjection, |
35 |
|
ProjFile.SetName. |
36 |
|
|
37 |
|
2003-04-25 Jonathan Coles <[email protected]> |
38 |
|
|
39 |
|
* Thuban/UI/projdialog.py (ProjFrame.__FillAvailList): Now |
40 |
|
takes an optional argument to select the current projection. |
41 |
|
This does not guarantee that the item is visible due to |
42 |
|
limited wxWindows functionality. Fixes RTBug #1821. |
43 |
|
|
44 |
|
2003-04-25 Jonathan Coles <[email protected]> |
45 |
|
|
46 |
* Thuban/Model/load.py (SessionLoader.start_projection): Remember |
* Thuban/Model/load.py (SessionLoader.start_projection): Remember |
47 |
the projection name and use it when constructing the Projection |
the projection name and use it when constructing the Projection |
48 |
object. |
object. |