/[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 1464 by bh, Fri Jul 18 15:33:58 2003 UTC revision 1465 by bh, Fri Jul 18 18:21:07 2003 UTC
# Line 1  Line 1 
1  2003-07-18  Bernhard Herzog  <[email protected]>  2003-07-18  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/messages.py (MAP_REPLACED): New message.
4    
5            * Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED
6            after the new map has been assigned
7    
8            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
9            Delegate MAP_REPLACED to the canvas too
10            (MainWindow.prepare_new_session): Removed. Thanks to the new
11            MAP_REPLACED message it's no longer needed
12            (MainWindow.OpenSession, MainWindow.NewSession):
13            prepare_new_session has been removed.
14    
15            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
16            MAP_REPLACED so that we can close the dialog if a new map is set.
17            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
18            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
19            dialog
20    
21            * test/test_viewport.py (SimpleViewPortTest)
22            (SimpleViewPortTest.test_default_size): Add doc-strings
23            (ViewPortTest.setUp): Bind map to self.map so we can use it in
24            tests. Subscribe to MAP_REPLACED messages too.
25            (ViewPortTest.tearDown): No need to explicitly unsubscribe
26            (ViewPortTest.test_set_map): New test for the SetMap method.
27    
28    2003-07-18  Bernhard Herzog  <[email protected]>
29    
30          * test/test_viewport.py (SimpleViewPortTest.test_default_size):          * test/test_viewport.py (SimpleViewPortTest.test_default_size):
31          Move this test from ViewPortTest.setUp to this new separate test          Move this test from ViewPortTest.setUp to this new separate test
32          case. setUp is not the place for the actual tests.          case. setUp is not the place for the actual tests.

Legend:
Removed from v.1464  
changed lines
  Added in v.1465

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26