/[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 22 by bh, Tue Sep 4 16:45:57 2001 UTC revision 42 by bh, Thu Sep 6 18:58:57 2001 UTC
# Line 1  Line 1 
1    2001-09-06  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__):
4            Correct the spelling of SessionTreeCtrl. dabbrev is too damn
5            convenient :-)
6            (SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce
7            a new instvar layer_to_item to map layers to tree items
8            (SessionTreeCtrl.layer_selected): Select the appropriate tree item
9            to match the current selection in the interactor
10    
11            * Thuban/UI/interactor.py (Interactor.SelectedLayer):
12            (Interactor.HasSelectedLayer): New methods to query the current
13            selection
14    
15            * Thuban/UI/mainwindow.py (MainWindow.current_layer):
16            (MainWindow.has_selected_layer): Simply call the appropriate
17            interactor method
18    
19            * Thuban/UI/mainwindow.py (MainWindow.__init__):
20            (MainWindow.LayerShowTable):
21            (MainWindow.identify_view_on_demand): Store the interactor in an
22            instvar and use that reference instead of going through main.app
23    
24            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
25            * Thuban/UI/application.py (ThubanApplication.OnInit):
26            * Thuban/UI/main.py (main): Create the session tree view in main
27            with the new mainwindow method ShowSessionTree and not directly
28            the application's OnInit method
29    
30            * Thuban/UI/tree.py (myTreeCtrlPanel):
31            (SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a
32            TreeCtrl isntead of a panel. This affects most method since we now
33            refer to self instead of self.tree
34            (SessionTreeView): New class implementing a non-modal dialog
35            showing the session tree.
36    
37            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
38            layer to the tableview dialog.
39    
40            * Thuban/UI/tableview.py: Add some doc-strings
41            (TableGrid):
42            (TableGrid.OnRangeSelect):
43            (TableGrid.OnSelectCell):
44            (TableFrame.__init__):
45            (TableFrame.row_selected):
46            Selecting rows in the grid view now updates the selected shapes
47            through the TableFrame. To achieve this we derive TableGrid from
48            Publisher and introduce the message type ROW_SELECTED which the
49            TableFrame subscribes to and which is issued by OnRangeSelect and
50            OnSelectCell
51    
52            (DataTable.SelectRow): Removed because it's no longer needed in
53            the row/shape selection scheme
54    
55            * Thuban/UI/dialogs.py: New file implementing common classes for
56            dialogs
57    
58            * Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to
59            the SELECTED_SHAPE message anymore. This is now handled by the
60            parent.
61            (TableGrid.select_shape): Only update the selection if the shape
62            is not None.
63            (TableFrame): Inherit from the new NonModalDialog class.
64            (TableFrame.__init__, TableFrame.select_shape): Handle the
65            SELECT_SHAPE message.
66            (TableFrame.OnClose): Extend the inherited method to unsubscribe
67            SELECT_SHAPE
68    
69            * Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
70            (MainWindow.add_dialog):
71            (MainWindow.dialog_open):
72            (MainWindow.remove_dialog):
73            (MainWindow.get_open_dialog): New methods to maintain a dictionary
74            of opened non-modal dialogs.
75    
76            (MainWindow.__init__): Initialize the new non-modal dictionary
77            management code
78            (MainWindow.LayerShowTable): maintain separate dialogs for each
79            table using the non-modal dialog management code to only open a
80            view once for each table.
81    
82            (MainWindow.IdentifyTool):
83            (MainWindow.__init__):
84            (MainWindow.identify_view_on_demand): Don't open the identify view
85            in IdentifyTool anymore. This will be done automatically by the
86            new method identify_view_on_demand which handles the
87            SELECTED_SHAPE message so that the identify view will be opened on
88            demand
89    
90            * Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove
91            the interactor argument. The SELECTED_SHAPE message is now handled
92            by the parent.
93            (IdentifyView.__init__): Add the interactor argument so that we
94            can handle the SELECTED_SHAPE message here
95            (IdentifyView.selected_shape): New method to handle the
96            SELECTED_SHAPE messages
97    
98            * Thuban/UI/identifyview.py (IdentifyView): Derive from the new
99            NonModalDialog class
100            (IdentifyView.OnClose): Extend the inherited version to
101            unsubscribe SELECT_SHAPE
102    
103            * Thuban/Model/session.py (Session.UnsetModified): Remove debug prints
104    
105    2001-09-05  Bernhard Herzog  <[email protected]>
106    
107            * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
108            
109            * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
110            interactor to pass through to the MapCanvas
111            
112            * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
113            argument to the MainWindow constructor to get rid of the ugly hack
114            that made main.app available early just so that the mapcanvas
115            could access the interactor object.
116    
117  2001-09-04  Bernhard Herzog  <[email protected]>  2001-09-04  Bernhard Herzog  <[email protected]>
118    
119          * 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.42

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26