/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 701 by bh, Thu Apr 17 16:18:48 2003 UTC revision 716 by jonathan, Wed Apr 23 08:59:19 2003 UTC
# Line 1  Line 1 
1    2003-04-23  Jonathan Coles   <[email protected]>
2    
3            Projection dialog. Allows the user to select from a list
4            of projection templates and optionally edit them and save new ones.
5    
6            * Thuban/UI/projdialog.py (ProjFrame): New. Main dialog.
7            (ProjPanel): Base class for projection specific panels.
8            (TMPanel): Projection panel for Transverse Mercartor.
9            (UTMPanel): Projection panel for Universal Transverse Mercartor.
10            (LCCPanel): Projection panel for Lambert Conic Conformal.
11            (GeoPanel): Projetion panel for Geographic Projection.
12    
13    2003-04-23  Jonathan Coles   <[email protected]>
14    
15            * Thuban/Model/load.py (XMLReader): Renamed from XMLProcessor to
16            promote symmetry. There now exists XMLReader and XMLWriter.
17            (XMLReader.read): New. Call to read the given file descriptor or
18            filename.
19            (XMLReader.close): New. Make sure the file is closed.
20            (XMLReader.GetFileName): New. Return just the file name that is being
21            read from.
22            (XMLReader.GetDirectory): New. Return just the directory of the file
23            that is being read.
24            (XMLReader.AddDispatchers): New. Take a dictionary which contains
25            the names of functions to call as the XML tree is parsed.
26            (XMLReader.startElementNS): Updated to use new dispatcher dictionary.
27            (XMLReader.endElementNS): Updated to use new dispatcher dictionary.
28            (SessionLoader): Removed class variables start_dispatcher and
29            end_dispatcher since this functionality is now part of a class
30            instance. Fixes RTbug #1808.
31            (SessionLoader.__init__): Add dispatcher functions.
32            (load_xmlfile): Code was moved into the XMLReader.read().
33            (load_session): Use modified SessionLoader.
34    
35            * Thuban/Model/map.py (Map.GetProjection): New. Returns the
36            map's projection.
37    
38            * Thuban/Model/proj.py (Projection.GetParameters): Renamed to
39            GetAllParameters.
40            (Projection.GetParameter): Returns the value for the given parameter.
41    
42            * Thuban/Model/resource.py: Use XMLReader and XMLWriter.
43            (GetProjFiles): Renamed from GetProjections. Now returns a list
44            of ProjFile objects.
45            (GetSystemProjFiles): Renamed from GetSuppliedProjections. Returns
46            a list of ProjFile objects whose files are not user defined.
47            (GetUserProjFiles): Renamed from GetUserProjections. Returns a
48            list of ProjFile objects whose files are user defined.
49            (ProjFileReader): Extend new XMLReader.
50    
51            * Thuban/Model/save.py (XMLWriter): Renamed from XMLSaver to
52            promote symmetry.
53    
54            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Use a wxChoice
55            control instead of a wxComboBox. wxChoice controls do not generate
56            events as the uses highlights possible choices which fixes problems
57            with resizing the dialog when the use selects an option.
58    
59            * Thuban/UI/classifier.py (Classifier.__init__): Use a wxChoice
60            control instead of a wxComboBox.
61    
62            * Thuban/UI/mainwindow.py (MainWindow.Projection): Use new projection
63            dialog.
64    
65            * test/test_proj.py (TestProjection.test): New tests for GetParameter
66            method.
67    
68    2003-04-22  Bernhard Herzog  <[email protected]>
69    
70            * Thuban/UI/mainwindow.py: Remove some unused imports and global
71            constants
72    
73            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
74            (IdentifyGridCtrl.selected_shape): Use table, not shapetable.
75    
76  2003-04-17  Bernhard Herzog  <[email protected]>  2003-04-17  Bernhard Herzog  <[email protected]>
77    
78          * Thuban/Model/layer.py: Don't import LAYER_LEGEND_CHANGED.          * Thuban/Model/layer.py: Don't import LAYER_LEGEND_CHANGED.

Legend:
Removed from v.701  
changed lines
  Added in v.716

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26