/[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 601 by jonathan, Fri Apr 4 12:11:59 2003 UTC revision 623 by bh, Mon Apr 7 10:54:54 2003 UTC
# Line 1  Line 1 
1    2003-04-07  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in
4            favor of ToggleSessionTree
5            (MainWindow.ToggleSessionTree): New method to toggle visibility of
6            the session tree.
7            (MainWindow.SessionTreeShown): New method to return whether the
8            session tree is currently shown.
9            (MainWindow.ToggleLegend): New method to toggle visibility of the
10            legend
11            (MainWindow.ShowLegend): Implement in terms of ToggleLegend and
12            LegendShown
13            (MainWindow.LegendShown): New method to return whether the legend
14            is currently shown.
15            (_method_command): Add checked parameter so we can define check
16            menu items
17            (_has_tree_window_shown, _has_legend_shown): Use the appropriate
18            mainwindow methods.
19            (show_session_tree, show_legend commands): Removed.
20            (toggle_session_tree, toggle_legend commands): New commands to
21            toggle the visibility of the dialogs
22    
23    2003-04-07  Jonathan Coles   <[email protected]>
24    
25            * Thuban/UI/classgen.py: Fix Windows problem.
26    
27            * Thuban/UI/dock.py: Fix Windows problem.
28    
29            * Thuban/UI/mainwindow.py: Use False instead of false.
30            (MainWindow.ShowLegend): Remove unnecessary switch parameter.
31    
32    2003-04-07  Jonathan Coles   <[email protected]>
33    
34            Since we now say that the order of the groups in a classification
35            matters, it makes sense to be able to manipulate that order. Most
36            of the changes to Thuban/Model/classification.py are to that end.
37    
38            * Thuban/Model/classification.py (Classification.AppendGroup,
39            Classification.InsertGroup, Classification.ReplaceGroup,
40            Classification.RemoveGroup, Classification.GetGroup): Do as the
41            names imply.
42            (Classification.FindGroup): This was called GetGroup, but GetGroup
43            takes an index, while FindGroup takes a value.
44            (Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER
45            REFERENCE. Currently there is a cyclic reference between the layer
46            and its classification. If the classification doesn't need to know
47            its owning layer we can change this, since it may make sense to be
48            able to use the same classification with different layers.
49    
50            * Thuban/Model/load.py: Use Classification.AppendGroup(), not AddGroup()
51    
52            * Thuban/UI/classgen.py: Use Classification.AppendGroup(),
53            not AddGroup()
54    
55            * Thuban/UI/classifier.py: Now that we can depend on the order in
56            a Classification and have methods to manipulate that order we don't
57            need to use our own data structures in the grid. We can simply make
58            the grid/table access the information they need from a copy of
59            the classification object.
60            (Classifier._OnCloseBtn): Event handler for when the user clicks
61            'Close'. This is needed so if the user applies changes and then
62            continues to change the table the user has the option of discarding
63            the most recent changes and keeping what they applied.
64    
65            * Thuban/UI/mainwindow.py: Put "Show Legend" and "Show Session Tree"
66            into the same group.
67    
68            * extensions/thuban/wxproj.cpp (check_version): If Thuban is compiled
69            with a really old version of proj, PJ_VERSION won't even be defined.
70            If it isn't defined then just compile so that the function always
71            returns Py_False.
72    
73            * test/test_classification.py: Fix tests to use the renamed methods.
74            Still need to write tests for the new methods.
75    
76    2003-04-04  Jonathan Coles   <[email protected]>
77    
78            * Thuban/UI/classifier.py (Classifier.__SelectField): Move the
79            call to SetSelection out of the method and before the call
80            to __SelectField in __init__. This prevents a recursion of events
81            when _OnFieldSelect is triggered by the user.
82    
83  2003-04-04  Jonathan Coles   <[email protected]>  2003-04-04  Jonathan Coles   <[email protected]>
84    
85      * Thuban/Model/classification.py: Fix assert calls.          * Thuban/Model/classification.py: Rename Color.None to
86      (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):          Color.Transparent.
87      Copy the color parameter rather than hold onto a reference.          (ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
88            Don't bother copying the color, since Colors are immutable.
89      * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy  
90      the color object.          * Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py,
91      (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we          Thuban/UI/classifier.py, Thuban/UI/mainwindow.py,
92      are sure there exists only one refernce to Color.None in the system.          Thuban/UI/renderer.py, Thuban/UI/view.py:
93      This allows us to use 'is' rather than the comparision functions.          Rename Color.None to Color.Transparent.
94        
95      * Thuban/Model/save.py: Fix assert calls.          * test/test_classification.py, test/test_load.py: Rename Color.None
96            to Color.Transparent.
97      * Thuban/UI/classifier.py: Fix assert calls.  
98      (ClassGrid._OnCellDClick): Call up to the classifier to open the  2003-04-04  Jonathan Coles   <[email protected]>
99      dialog to edit the groups properties.  
100      (ClassGrid._OnCellResize): Make sure that the scollbars are drawn          * Thuban/Model/classification.py: Fix assert calls.
101      correctly if a cell is resized.          (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
102      (ClassTable.SetClassification): New. Changes the classification          Copy the color parameter rather than hold onto a reference.
103      that is in the table.  
104      (ClassTable.__SetRow): Allow groups to be prepended.          * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy
105      (Classifier): New code for opening the EditProperties and          the color object.
106      GenerateRanges dialogs.          (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
107      (SelectPropertiesDialog.__GetColor): Only set the color in the          are sure there exists only one refernce to Color.None in the system.
108      color dialog if the current color is not None.          This allows us to use 'is' rather than the comparision functions.
109            
110      * Thuban/UI/dock.py: Fix assert calls.          * Thuban/Model/save.py: Fix assert calls.
111            
112      * Thuban/UI/legend.py: Fix assert calls.          * Thuban/UI/classifier.py: Fix assert calls.
113            (ClassGrid._OnCellDClick): Call up to the classifier to open the
114      * Thuban/UI/renderer.py: Fix assert calls.          dialog to edit the groups properties.
115            (ClassGrid._OnCellResize): Make sure that the scollbars are drawn
116      * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating          correctly if a cell is resized.
117      classifications.          (ClassTable.SetClassification): New. Changes the classification
118      (GenRangePanel): Panel specific to range generation.          that is in the table.
119      (GenSingletonPanel): Panel specific to singleton generation.          (ClassTable.__SetRow): Allow groups to be prepended.
120      (ClassGenerator): Class responsible for actually generating          (Classifier): New code for opening the EditProperties and
121      the classification from the data gathered in the dialog box.          GenerateRanges dialogs.
122      (PropertyRamp): Generates properties whose values range from          (SelectPropertiesDialog.__GetColor): Only set the color in the
123      a starting property to an ending property.          color dialog if the current color is not None.
124            
125            * Thuban/UI/dock.py: Fix assert calls.
126            
127            * Thuban/UI/legend.py: Fix assert calls.
128            
129            * Thuban/UI/renderer.py: Fix assert calls.
130            
131            * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating
132            classifications.
133            (GenRangePanel): Panel specific to range generation.
134            (GenSingletonPanel): Panel specific to singleton generation.
135            (ClassGenerator): Class responsible for actually generating
136            the classification from the data gathered in the dialog box.
137            (PropertyRamp): Generates properties whose values range from
138            a starting property to an ending property.
139    
140  2003-04-03  Bernhard Herzog  <[email protected]>  2003-04-03  Bernhard Herzog  <[email protected]>
141    

Legend:
Removed from v.601  
changed lines
  Added in v.623

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26