/[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 22 by bh, Tue Sep 4 16:45:57 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]>  2001-09-04  Bernhard Herzog  <[email protected]>
84    
85          * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method          * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26