/[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 18 by bh, Mon Sep 3 16:25:09 2001 UTC revision 35 by bh, Thu Sep 6 15:33:09 2001 UTC
# Line 1  Line 1 
1    2001-09-06  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
4            layer to the tableview dialog.
5    
6            * Thuban/UI/tableview.py: Add some doc-strings
7            (TableGrid):
8            (TableGrid.OnRangeSelect):
9            (TableGrid.OnSelectCell):
10            (TableFrame.__init__):
11            (TableFrame.row_selected):
12            Selecting rows in the grid view now updates the selected shapes
13            through the TableFrame. To achieve this we derive TableGrid from
14            Publisher and introduce the message type ROW_SELECTED which the
15            TableFrame subscribes to and which is issued by OnRangeSelect and
16            OnSelectCell
17    
18            (DataTable.SelectRow): Removed because it's no longer needed in
19            the row/shape selection scheme
20    
21            * Thuban/UI/dialogs.py: New file implementing common classes for
22            dialogs
23    
24            * Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to
25            the SELECTED_SHAPE message anymore. This is now handled by the
26            parent.
27            (TableGrid.select_shape): Only update the selection if the shape
28            is not None.
29            (TableFrame): Inherit from the new NonModalDialog class.
30            (TableFrame.__init__, TableFrame.select_shape): Handle the
31            SELECT_SHAPE message.
32            (TableFrame.OnClose): Extend the inherited method to unsubscribe
33            SELECT_SHAPE
34    
35            * Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
36            (MainWindow.add_dialog):
37            (MainWindow.dialog_open):
38            (MainWindow.remove_dialog):
39            (MainWindow.get_open_dialog): New methods to maintain a dictionary
40            of opened non-modal dialogs.
41    
42            (MainWindow.__init__): Initialize the new non-modal dictionary
43            management code
44            (MainWindow.LayerShowTable): maintain separate dialogs for each
45            table using the non-modal dialog management code to only open a
46            view once for each table.
47    
48            (MainWindow.IdentifyTool):
49            (MainWindow.__init__):
50            (MainWindow.identify_view_on_demand): Don't open the identify view
51            in IdentifyTool anymore. This will be done automatically by the
52            new method identify_view_on_demand which handles the
53            SELECTED_SHAPE message so that the identify view will be opened on
54            demand
55    
56            * Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove
57            the interactor argument. The SELECTED_SHAPE message is now handled
58            by the parent.
59            (IdentifyView.__init__): Add the interactor argument so that we
60            can handle the SELECTED_SHAPE message here
61            (IdentifyView.selected_shape): New method to handle the
62            SELECTED_SHAPE messages
63    
64            * Thuban/UI/identifyview.py (IdentifyView): Derive from the new
65            NonModalDialog class
66            (IdentifyView.OnClose): Extend the inherited version to
67            unsubscribe SELECT_SHAPE
68    
69            * Thuban/Model/session.py (Session.UnsetModified): Remove debug prints
70    
71    2001-09-05  Bernhard Herzog  <[email protected]>
72    
73            * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
74            
75            * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
76            interactor to pass through to the MapCanvas
77            
78            * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
79            argument to the MainWindow constructor to get rid of the ugly hack
80            that made main.app available early just so that the mapcanvas
81            could access the interactor object.
82    
83    2001-09-04  Bernhard Herzog  <[email protected]>
84    
85            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method
86            that runs a modal message box
87            (MainWindow.OnClose): Use the new method
88            (MainWindow.RemoveLayer): Just do nothing in case no layer is
89            selected. The command should be grayed out anyway, so there's no
90            need to pop up a message box.
91            (MainWindow.AddLayer): Pop up a message box with an error message
92            if the shape file can't be opened
93    
94            * Thuban/Model/layer.py (Layer.__init__): Open the shapefile
95            immediately. This will cause an exception in case the file can't
96            be opened and we can display an appropriate message.
97    
98            * MANIFEST.in: Add extensions/pyprojection/LICENSE
99    
100            * setup.py (thuban_bdist_rpm): New class implementing a Thuban
101            specific bdist_rpm command.
102    
103            * Thuban/UI/main.py: Catch ImportError exceptions when importing
104            the locale module because it may not be available on some
105            installations.
106    
107            * extensions/pyprojection/LICENSE: Copy of the license text in
108            Projection.i. Having it in a separate file makes it easier to
109            refer to license text in e.g. RPMs
110    
111  2001-09-03  Bernhard Herzog  <[email protected]>  2001-09-03  Bernhard Herzog  <[email protected]>
112    
113            * setup.py: use wx-config instead of wxgtk-config because it's
114            more generic
115    
116            * setup.py (ThubanInstall.get_outputs): Add the symlink in
117            <prefix>/bin to the outputs
118            (ThubanInstall.link_file): New method to link files. We need this
119            because the standard copy_files refuses to link non-existing
120            files.
121            (ThubanInstall.run): Remove the leading install root from the
122            script filename if an install root was specified and use the new
123            link_file method
124            
125          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
126          the window when the first layer is added to the map.          the window when the first layer is added to the map.
127    

Legend:
Removed from v.18  
changed lines
  Added in v.35

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26