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

Legend:
Removed from v.608  
changed lines
  Added in v.644

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26