/[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 26 by bh, Wed Sep 5 13:36:30 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]>  2001-09-05  Bernhard Herzog  <[email protected]>
98    
99          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.

Legend:
Removed from v.26  
changed lines
  Added in v.40

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26