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

Legend:
Removed from v.16  
changed lines
  Added in v.32

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26