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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26