/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

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

revision 1208 by bh, Fri Jun 13 18:16:15 2003 UTC revision 1220 by bh, Mon Jun 16 17:43:09 2003 UTC
# Line 1  Line 1 
1    2003-06-16  Bernhard Herzog  <[email protected]>
2    
3            Update to the layer interface: Direct access to the table,
4            shapetable, shapefile and filename attributes is now actively
5            deprecated by issuing deprecation warnings for all places where
6            this happens.
7    
8            * Thuban/Model/layer.py (Layer.__getattr__): New. Implement access
9            to the instance variables table, shapetable, shapefile and
10            filename via __getattr__ so that we can issue a deprecation
11            warning.
12            (Layer.SetShapeStore): Don't set the deprecated instance variables
13            any more
14            (Layer.SetShapeStore): Don't use deprecated layer instance
15            variables
16            (Layer.Destroy): No need to explicitly remove the instance
17            variables any more
18            (Layer.GetFieldType, Layer.Shape): Don't use deprecated layer
19            instance variables
20    
21            * Thuban/UI/classgen.py (ClassGenDialog.__init__)
22            (GenUniformPanel._OnRetrieve, GenUniquePanel._OnRetrieve)
23            (GenQuantilesPanel.GetList, GenQuantilesPanel.OnRetrieve): Don't
24            use deprecated layer instance variables
25    
26            * Thuban/UI/classifier.py (Classifier.__init__): Don't use
27            deprecated layer instance variables
28    
29            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
30            (IdentifyGridCtrl.selected_shape): Don't set the deprecated layer
31            instance variables
32    
33            * Thuban/UI/tableview.py (LayerTableGrid.select_shapes): Don't use
34            deprecated layer instance variables
35    
36            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Don't use
37            deprecated layer instance variables
38    
39            * Thuban/Model/save.py (SessionSaver.write_layer): Don't use
40            deprecated layer instance variables
41    
42            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer)
43            (MapRenderer.polygon_render_param): Don't use deprecated layer instance
44            variables
45    
46            * test/runtests.py (main): Turn Thuban's deprecation warnings into
47            errors so that they're cought by the tests
48    
49            * test/test_load.py (TestSingleLayer.test): Don't use deprecated
50            layer instance variables
51    
52    2003-06-16  Jonathan Coles   <[email protected]>
53    
54            Fix a problem under Windows whereby if the user double-clicks on a
55            layer in the legend that tree item will expand or collapse as well
56            as open the layer properties dialog. The state of the tree item
57            should not be affected.
58    
59            * Thuban/UI/legend.py (LegendTree.__init__): Add instance variable
60            preventExpandCollapse and subscribe to expanding and collapsing
61            events.
62            (LegendTree.OnItemExpandCollapse): New. Responds to expanding and
63            collapsing events and will veto the event if it has been triggered
64            by the user double clicking on a layer.
65            (LegendTree._OnItemActivated): Set preventExpandCollapse to indicate
66            that an expanding/collapsing event should be vetoed.
67    
68  2003-06-13  Bernhard Herzog  <[email protected]>  2003-06-13  Bernhard Herzog  <[email protected]>
69    
70          * Thuban/UI/classifier.py (Classifier.OnClose)          * Thuban/UI/classifier.py (Classifier.OnClose)

Legend:
Removed from v.1208  
changed lines
  Added in v.1220

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26