/[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 603 by jonathan, Fri Apr 4 12:15:00 2003 UTC revision 634 by jonathan, Wed Apr 9 15:41:58 2003 UTC
# Line 1  Line 1 
1    2003-04-09  Jonathan Coles   <[email protected]>
2    
3            * Thuban/UI/classgen.py: Modifications to allow simple
4            addition and selection of new color schemes.
5            (MonochromaticRamp): New. Generates a ramp between two colors.
6            (RedRamp): New. Generates a ramp of all red.
7            (GreenRamp): New. Generates a ramp of all green.
8            (BlueRamp): New. Generates a ramp of all blue.
9    
10    2003-04-09  Jonathan Coles   <[email protected]>
11    
12            * Thuban/Model/classification.py (Classification.__deepcopy__):
13            Need to copy over field and fieldType attributes.
14    
15            * Thuban/Model/table.py (Table.field_range): New. Retrive the
16            maximum and minimum values over the entire table for a given
17            field.
18            (Table.GetUniqueValues): New. Retrieve all the unique values
19            in the table for a given field.
20    
21            * Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel.
22            (GenUniquePanel): New. Controls to allow the user to select
23            which unique field values they would like in the classification.
24            (CustomRampPanel): Code that was in ClassGenDialog that allows
25            the user to select the properties for a custom ramp.
26            (ClassGenerator.GenUniformDistribution): Was called GenerateRanges.
27    
28            * Thuban/UI/classifier.py: Removed a lot of debugging code.
29            (Classifier._SetClassification): Callback method so that the
30            class generator can set the classification in the grid.
31            (ClassGroupPropertiesCtrl): New. Encapsulates the drawing and
32            editing of a group properties class into a wxWindows control.
33    
34            * Thuban/UI/dock.py: It was decided that if the user closes
35            a dockable window the window should simply hide itself. That
36            way if the user wants to show the dock again it appears in the
37            same place as it was when it was closed.
38            (DockableWindow.Destroy): Call renamed method OnDockDestroy().
39            (DockableWindow._OnButtonClose): Hide the window instead of
40            destroying it.
41            (DockableWindow._OnClose): Hide the window instead of
42            destroying it.
43    
44            * Thuban/UI/legend.py (LegendTree): Use a private method to
45            consistently set the font and style of the text. Fixes RTbug #1786.
46    
47            * Thuban/UI/mainwindow.py: Import just the Classifier class.
48    
49    2003-04-07  Bernhard Herzog  <[email protected]>
50    
51            * Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item
52            to the map module
53    
54    2003-04-07  Bernhard Herzog  <[email protected]>
55    
56            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in
57            favor of ToggleSessionTree
58            (MainWindow.ToggleSessionTree): New method to toggle visibility of
59            the session tree.
60            (MainWindow.SessionTreeShown): New method to return whether the
61            session tree is currently shown.
62            (MainWindow.ToggleLegend): New method to toggle visibility of the
63            legend
64            (MainWindow.ShowLegend): Implement in terms of ToggleLegend and
65            LegendShown
66            (MainWindow.LegendShown): New method to return whether the legend
67            is currently shown.
68            (_method_command): Add checked parameter so we can define check
69            menu items
70            (_has_tree_window_shown, _has_legend_shown): Use the appropriate
71            mainwindow methods.
72            (show_session_tree, show_legend commands): Removed.
73            (toggle_session_tree, toggle_legend commands): New commands to
74            toggle the visibility of the dialogs
75    
76    2003-04-07  Jonathan Coles   <[email protected]>
77    
78            * Thuban/UI/classgen.py: Fix Windows problem.
79    
80            * Thuban/UI/dock.py: Fix Windows problem.
81    
82            * Thuban/UI/mainwindow.py: Use False instead of false.
83            (MainWindow.ShowLegend): Remove unnecessary switch parameter.
84    
85    2003-04-07  Jonathan Coles   <[email protected]>
86    
87            Since we now say that the order of the groups in a classification
88            matters, it makes sense to be able to manipulate that order. Most
89            of the changes to Thuban/Model/classification.py are to that end.
90    
91            * Thuban/Model/classification.py (Classification.AppendGroup,
92            Classification.InsertGroup, Classification.ReplaceGroup,
93            Classification.RemoveGroup, Classification.GetGroup): Do as the
94            names imply.
95            (Classification.FindGroup): This was called GetGroup, but GetGroup
96            takes an index, while FindGroup takes a value.
97            (Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER
98            REFERENCE. Currently there is a cyclic reference between the layer
99            and its classification. If the classification doesn't need to know
100            its owning layer we can change this, since it may make sense to be
101            able to use the same classification with different layers.
102    
103            * Thuban/Model/load.py: Use Classification.AppendGroup(), not AddGroup()
104    
105            * Thuban/UI/classgen.py: Use Classification.AppendGroup(),
106            not AddGroup()
107    
108            * Thuban/UI/classifier.py: Now that we can depend on the order in
109            a Classification and have methods to manipulate that order we don't
110            need to use our own data structures in the grid. We can simply make
111            the grid/table access the information they need from a copy of
112            the classification object.
113            (Classifier._OnCloseBtn): Event handler for when the user clicks
114            'Close'. This is needed so if the user applies changes and then
115            continues to change the table the user has the option of discarding
116            the most recent changes and keeping what they applied.
117    
118            * Thuban/UI/mainwindow.py: Put "Show Legend" and "Show Session Tree"
119            into the same group.
120    
121            * extensions/thuban/wxproj.cpp (check_version): If Thuban is compiled
122            with a really old version of proj, PJ_VERSION won't even be defined.
123            If it isn't defined then just compile so that the function always
124            returns Py_False.
125    
126            * test/test_classification.py: Fix tests to use the renamed methods.
127            Still need to write tests for the new methods.
128    
129    2003-04-04  Jonathan Coles   <[email protected]>
130    
131            * Thuban/UI/classifier.py (Classifier.__SelectField): Move the
132            call to SetSelection out of the method and before the call
133            to __SelectField in __init__. This prevents a recursion of events
134            when _OnFieldSelect is triggered by the user.
135    
136    2003-04-04  Jonathan Coles   <[email protected]>
137    
138            * Thuban/Model/classification.py: Rename Color.None to
139            Color.Transparent.
140            (ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
141            Don't bother copying the color, since Colors are immutable.
142    
143            * Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py,
144            Thuban/UI/classifier.py, Thuban/UI/mainwindow.py,
145            Thuban/UI/renderer.py, Thuban/UI/view.py:
146            Rename Color.None to Color.Transparent.
147        
148            * test/test_classification.py, test/test_load.py: Rename Color.None
149            to Color.Transparent.
150    
151  2003-04-04  Jonathan Coles   <[email protected]>  2003-04-04  Jonathan Coles   <[email protected]>
152    
153          * Thuban/Model/classification.py: Fix assert calls.          * Thuban/Model/classification.py: Fix assert calls.

Legend:
Removed from v.603  
changed lines
  Added in v.634

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26