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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26