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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26